From 625c26f572b23c2cb1eba4cc9c8a590c7057c274 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Tue, 15 Jul 2014 22:59:27 -0700 Subject: [PATCH] Switch to Cargo for Travis tests --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f13fcaf9..d1d8e583 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,13 +5,12 @@ env: addons: postgresql: 9.3 install: - - curl -O http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz - - tar xfz rust-nightly-x86_64-unknown-linux-gnu.tar.gz - - (cd rust-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh) + - curl http://www.rust-lang.org/rustup.sh | sudo sh - before_script: - ./travis/setup.sh - - ./configure 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: - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh