Skip to content

Commit d1ae497

Browse files
authored
Everything has been cut over to use new version of mongo! (#25)
This means that we should no longer run into issues with the bson crate as it is now re-exported from the mongodb crate.
1 parent d1208ba commit d1ae497

28 files changed

+279
-208
lines changed

.travis.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,18 @@ rust:
44
- stable
55
services:
66
- docker
7-
# env:
8-
# - DOCKER_COMPOSE_VERSION=1.14.0
9-
10-
# Need to cache the whole `.cargo` directory to keep .crates.toml for cargo-update to work.
11-
cache:
12-
directories:
13-
- /home/travis/.cargo
14-
15-
# Don't cache the cargo registry.
16-
before_cache:
17-
- rm -rf /home/travis/.cargo/registry
187

198
before_install:
209
- docker-compose up -d
21-
- rustup install nightly-2018-10-09
10+
- rustup install nightly-2018-11-10
11+
- cargo clean
2212

2313
script:
24-
# Test doc samples.
25-
- cd wither && cargo +nightly-2018-10-09 test --features docinclude --doc; cd -
26-
- cd wither_derive && cargo +nightly-2018-10-09 test --features docinclude --doc; cd -
2714
# Test code generation & compilation.
28-
- cargo +nightly-2018-10-09 test -p wither_derive --tests --lib
15+
- cargo +nightly-2018-11-10 test -p wither_tests -p wither_derive --tests --lib
16+
# Test doc samples.
17+
- cd wither && cargo +nightly-2018-11-10 test --features docinclude --doc; cd -
18+
- cd wither_derive && cargo +nightly-2018-11-10 test --doc; cd -
2919
# Test against MongoDB 3.2.
3020
- HOST=localhost PORT=27017 cargo test -p wither --tests --lib -- --test-threads=1
3121
# Test against MongoDB 3.4.

0 commit comments

Comments
 (0)