Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
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
Show whitespace changes
Inline
Side-by-side
.travis.yml
View file @
340155e6
...
@@ -17,15 +17,14 @@ addons:
...
@@ -17,15 +17,14 @@ addons:
-
shellcheck
-
shellcheck
before_install
:
before_install
:
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl ; fi
brew update && brew install openssl && brew link openssl --force
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link openssl --force ; fi
fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export OPENSSL_BIN="/usr/local/bin/openssl" ; fi
script
:
script
:
-
echo "TEST_LOCAL=$TEST_LOCAL"
-
echo "TEST_LOCAL=$TEST_LOCAL"
-
echo "NGROK_TOKEN=$(echo "$NGROK_TOKEN" | wc -c)"
-
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 curl -sSL $SHFMT_URL -o ~/shfmt ; fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod +x ~/shfmt ; fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod +x ~/shfmt ; fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ~/shfmt -l -w -i 2 . ; fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ~/shfmt -l -w -i 2 . ; fi
...
@@ -35,7 +34,7 @@ script:
...
@@ -35,7 +34,7 @@ script:
-
cd ..
-
cd ..
-
git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest
-
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" == "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
:
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