Skip to content

Commit 625c26f

Browse files
committed
Switch to Cargo for Travis tests
1 parent 2d60edb commit 625c26f

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ env:
55
addons:
66
postgresql: 9.3
77
install:
8-
- curl -O http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
9-
- tar xfz rust-nightly-x86_64-unknown-linux-gnu.tar.gz
10-
- (cd rust-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh)
8+
- curl http://www.rust-lang.org/rustup.sh | sudo sh -
119
before_script:
1210
- ./travis/setup.sh
13-
- ./configure
1411
script:
15-
- make all check doc
12+
- cargo test
13+
- rustdoc -L target/test -L target/test/deps --test src/lib/lib.rs
14+
- rustdoc -L target/test/deps src/lib/lib.rs
1615
after_script:
1716
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh

0 commit comments

Comments
 (0)