Skip to content
This repository was archived by the owner on Oct 18, 2021. It is now read-only.

Commit 723a2d4

Browse files
committed
update travis to test both 3.0 and 3.2
1 parent a010e16 commit 723a2d4

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.travis.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
language: rust
22

33
before_install:
4-
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.3.tgz
5-
- tar xvf mongodb-linux-x86_64-3.0.3.tgz
6-
- mv mongodb-linux-x86_64-3.0.3 3.0.3
4+
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.7.tgz
5+
- tar xvf mongodb-linux-x86_64-3.0.7.tgz
6+
- mv mongodb-linux-x86_64-3.0.7 3.0.7
7+
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.0.tgz
8+
- tar xvf mongodb-linux-x86_64-3.2.0.tgz
9+
- mv mongodb-linux-x86_64-3.2.0 3.2.0
710

811
env:
912
- RUST_TEST_THREADS=1
1013

1114
script:
12-
- mkdir -p ./data/db ./data/test
13-
- 3.0.3/bin/mongod --fork --nopreallocj --dbpath ./data/db --syslog --port 27017
14-
- 3.0.3/bin/mongod --fork --nopreallocj --dbpath ./data/test --syslog --port 27018
15+
- mkdir -p ./data/db ./data/test /data/db2 /data/test2
16+
- 3.0.7/bin/mongod --fork --nopreallocj --dbpath ./data/db --syslog --port 27017
17+
- 3.0.7/bin/mongod --fork --nopreallocj --dbpath ./data/test --syslog --port 27018
1518
- cargo build --verbose
16-
- cargo test --verbose
19+
- cargo test v3_0 --verbose
20+
- killall mongod
21+
- 3.2.0/bin/mongod --fork --nopreallocj --dbpath ./data/db2 --syslog --port 27017
22+
- 3.2.0/bin/mongod --fork --nopreallocj --dbpath ./data/test2 --syslog --port 27018
23+
- cargo test v3_2 --verbose

0 commit comments

Comments
 (0)