Skip to content

Commit fa734c9

Browse files
author
Alec Gibson
committed
Run Travis tests against newer versions of Node and MongoDb
1 parent b2363f7 commit fa734c9

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.travis.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
11
language: node_js
22

33
node_js:
4-
- 7
5-
- 6
6-
- 4
7-
- 0.10
4+
- "6"
5+
- "8"
6+
- "10"
87

98
services:
109
- docker
1110

1211
env:
13-
- MONGODB_VERSION="2.4"
1412
- MONGODB_VERSION="2.6"
15-
- MONGODB_VERSION="3.0"
16-
- MONGODB_VERSION="3.2"
17-
- MONGODB_VERSION="3.4"
13+
- MONGODB_VERSION="3.6"
14+
- MONGODB_VERSION="4.0"
1815

1916
before_install:
2017
- docker run -d -p 127.0.0.1:27017:27017 mongo:$MONGODB_VERSION
2118

2219
before_script:
2320
- until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done
2421

25-
# Run twice due to Mongo flakiness
26-
script: "npm run test-cover || npm run test-cover"
22+
script:
23+
- npm run test-cover
2724

2825
# Send coverage data to Coveralls
29-
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
26+
after_script:
27+
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

0 commit comments

Comments
 (0)