Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
340155e6
Commit
340155e6
authored
Nov 23, 2016
by
neil
Browse files
fix ci
parent
7fe19a03
Changes
1
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
340155e6
...
...
@@ -17,15 +17,14 @@ addons:
-
shellcheck
before_install
:
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl ; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link openssl --force ; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export OPENSSL_BIN="/usr/local/bin/openssl" ; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update && brew install openssl && brew link openssl --force
fi
script
:
-
echo "TEST_LOCAL=$TEST_LOCAL"
-
echo "NGROK_TOKEN=$(echo "$NGROK_TOKEN" | wc -c)"
-
openssl version
-
which openssl &&
openssl version
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -sSL $SHFMT_URL -o ~/shfmt ; fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod +x ~/shfmt ; fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ~/shfmt -l -w -i 2 . ; fi
...
...
@@ -35,7 +34,7 @@ script:
-
cd ..
-
git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh ; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo NGROK_TOKEN="$NGROK_TOKEN_OSX"
OPENSSL_BIN="/usr/local/bin/openssl"
./letest.sh ; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo NGROK_TOKEN="$NGROK_TOKEN_OSX" ./letest.sh ; fi
matrix
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment