Skip to content

Commit

Permalink
chore: update travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
Salakar committed Feb 9, 2020
1 parent a6af0c2 commit a7149e3
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@ language: node_js
sudo: required

os:
- linux
- windows

# fix travis windows hanging issue
# https://travis-ci.community/t/build-doesnt-finish-after-completing-tests/288/25
env: YARN_GPG=no
- linux

node_js:
- "6"
Expand Down Expand Up @@ -40,10 +36,18 @@ cache:
directories:
- "$TRAVIS_BUILD_DIR/stunnel-5.54"

after_success: npm run coveralls
before_script:
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
after_script:
- |-
case $TRAVIS_OS_NAME in
windows)
redis-server --service-stop
;;
esac
after_success: npm run coveralls

0 comments on commit a7149e3

Please sign in to comment.