aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index d151ab6..e03264b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,11 @@
-language: rust
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://static.rust-lang.org/cargo-dist/cargo-nightly-linux.tar.gz |
+ sudo tar --strip-components 1 -C /usr -xzf -
+ - curl http://www.rust-lang.org/rustup.sh | sudo sh -
script:
- make
- make check
+ - cargo build --verbose
+ - cargo test --verbose
+env:
+ - LD_LIBRARY_PATH=/usr/local/lib