Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

Commit 176fb32

Browse files
committed
chore(travis): update travis configuration to use build jobs
1 parent d03dae1 commit 176fb32

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

Diff for: .travis.yml

+25-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,34 @@
11
sudo: required
22
dist: trusty
3-
language: node_js
43

5-
node_js:
6-
- "4"
7-
- "6"
8-
- "8"
4+
language: node_js
95

106
cache:
117
yarn: true
128
directories:
139
- node_modules
1410

15-
env:
16-
- MONGODB_VERSION=2.6.x
17-
- MONGODB_VERSION=3.0.x
18-
- MONGODB_VERSION=3.2.x
19-
- MONGODB_VERSION=3.4.x
11+
jobs:
12+
include:
13+
- stage: tests
14+
node_js: 4
15+
env: MONGODB_VERSION=2.6.x
16+
- stage: tests
17+
node_js: 4
18+
env: MONGODB_VERSION=3.0.x
19+
- stage: tests
20+
node_js: 4
21+
env: MONGODB_VERSION=3.2.x
22+
- stage: tests
23+
node_js: 4
24+
env: MONGODB_VERSION=3.4.x
25+
- stage: tests
26+
node_js: 4
27+
env: MONGODB_VERSION=3.5.x
28+
29+
- stage: tests
30+
node_js: 6
31+
env: MONGODB_VERSION=3.4.x
32+
- stage: tests
33+
node_js: 8
34+
env: MONGODB_VERSION=3.4.x

0 commit comments

Comments
 (0)