Skip to content

Commit a7149e3

Browse files
committed
chore: update travis config
1 parent a6af0c2 commit a7149e3

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.travis.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@ language: node_js
22
sudo: required
33

44
os:
5-
- linux
65
- windows
7-
8-
# fix travis windows hanging issue
9-
# https://travis-ci.community/t/build-doesnt-finish-after-completing-tests/288/25
10-
env: YARN_GPG=no
6+
- linux
117

128
node_js:
139
- "6"
@@ -40,10 +36,18 @@ cache:
4036
directories:
4137
- "$TRAVIS_BUILD_DIR/stunnel-5.54"
4238

43-
after_success: npm run coveralls
4439
before_script:
4540
# Add an IPv6 config - see the corresponding Travis issue
4641
# https://github.com/travis-ci/travis-ci/issues/8361
4742
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
4843
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
4944
fi
45+
after_script:
46+
- |-
47+
case $TRAVIS_OS_NAME in
48+
windows)
49+
redis-server --service-stop
50+
;;
51+
esac
52+
53+
after_success: npm run coveralls

0 commit comments

Comments
 (0)