You've already forked node-redis
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:
16
.travis.yml
16
.travis.yml
@@ -2,12 +2,8 @@ language: node_js
|
|||||||
sudo: required
|
sudo: required
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
|
||||||
- windows
|
- windows
|
||||||
|
- linux
|
||||||
# fix travis windows hanging issue
|
|
||||||
# https://travis-ci.community/t/build-doesnt-finish-after-completing-tests/288/25
|
|
||||||
env: YARN_GPG=no
|
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- "6"
|
- "6"
|
||||||
@@ -40,10 +36,18 @@ cache:
|
|||||||
directories:
|
directories:
|
||||||
- "$TRAVIS_BUILD_DIR/stunnel-5.54"
|
- "$TRAVIS_BUILD_DIR/stunnel-5.54"
|
||||||
|
|
||||||
after_success: npm run coveralls
|
|
||||||
before_script:
|
before_script:
|
||||||
# Add an IPv6 config - see the corresponding Travis issue
|
# Add an IPv6 config - see the corresponding Travis issue
|
||||||
# https://github.com/travis-ci/travis-ci/issues/8361
|
# https://github.com/travis-ci/travis-ci/issues/8361
|
||||||
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
|
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
|
||||||
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
|
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
|
||||||
fi
|
fi
|
||||||
|
after_script:
|
||||||
|
- |-
|
||||||
|
case $TRAVIS_OS_NAME in
|
||||||
|
windows)
|
||||||
|
redis-server --service-stop
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
after_success: npm run coveralls
|
||||||
|
Reference in New Issue
Block a user