Switch to Cargo for Travis tests

This commit is contained in:
Steven Fackler 2014-07-15 22:59:27 -07:00
parent 2d60edb813
commit 625c26f572

View File

@ -5,13 +5,12 @@ env:
addons: addons:
postgresql: 9.3 postgresql: 9.3
install: install:
- curl -O http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz - curl http://www.rust-lang.org/rustup.sh | sudo sh -
- tar xfz rust-nightly-x86_64-unknown-linux-gnu.tar.gz
- (cd rust-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh)
before_script: before_script:
- ./travis/setup.sh - ./travis/setup.sh
- ./configure
script: script:
- make all check doc - cargo test
- rustdoc -L target/test -L target/test/deps --test src/lib/lib.rs
- rustdoc -L target/test/deps src/lib/lib.rs
after_script: after_script:
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh