Skip to content

Commit

Permalink
Merge branch 'fix-travis-addon-enable-worker-remote-access'
Browse files Browse the repository at this point in the history
* fix-travis-addon-enable-worker-remote-access:
  travis/enable-worker-remote-access.sh: Fix download of ngrok on Linux

[ci skip]
  • Loading branch information
jcfr committed Nov 7, 2017
2 parents e67d0fd + 0a3011c commit 9ce5c15
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions docs/travis/enable-worker-remote-access_sh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ Usage:

[...]
env:
global:
- secure: "xyz...abc...dev="
[...]
global:
- secure: "xyz...abc...dev="
[...]

install:
- [...]
- wget https://raw.githubusercontent.com/scikit-build/scikit-ci-addons/master/travis/enable-worker-remote-access.sh -O ../enable-worker-remote-access.sh
- chmod u+x ../enable-worker-remote-access.sh
- [...]
- wget https://raw.githubusercontent.com/scikit-build/scikit-ci-addons/master/travis/enable-worker-remote-access.sh -O ../enable-worker-remote-access.sh
- chmod u+x ../enable-worker-remote-access.sh

script:
- [...]
- [...]

after_success:
- ../enable-worker-remote-access.sh
- ../enable-worker-remote-access.sh

after_failure:
- ../enable-worker-remote-access.sh
- ../enable-worker-remote-access.sh

- next time travis build the project it will download ngrok and setup the tunnel. Output should
be similar to this one::
Expand Down
2 changes: 1 addition & 1 deletion travis/enable-worker-remote-access.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

case $TRAVIS_OS_NAME in
linux)
curl -L https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip -O $SCRIPT_DIR/ngrok.zip
curl -L https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip -o $SCRIPT_DIR/ngrok.zip
;;
osx)
curl -f -L -C - -o $SCRIPT_DIR/ngrok.zip https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-darwin-amd64.zip
Expand Down

0 comments on commit 9ce5c15

Please sign in to comment.