1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

chore: update travis config

This commit is contained in:
Salakar
2020-02-09 13:58:19 +00:00
parent a6af0c2889
commit a7149e39f1

View File

@@ -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"
@@ -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