Make Travis use its own Rust support and cargo.
This commit is contained in:
parent
183e9ff248
commit
3210c8082b
1 changed files with 5 additions and 6 deletions
11
.travis.yml
11
.travis.yml
|
@ -1,12 +1,11 @@
|
||||||
|
language: rust
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- secure: o2bgX4ObmN5b/lG2pk7U4tSu2/h0tLUxhHe3X6ZHi7A6MFOMtZOV+7g5TJX94YyAcsT5AWFSnl1Wv4dZcIJXsFkcZguFu6WI/Psc09K3zsA6NtXrqdcKv7XRBxivTKvfZ14PYhLgOuU+o1HreCQvolr5nmiX2gORmvD2Xc3qbHI=
|
- secure: o2bgX4ObmN5b/lG2pk7U4tSu2/h0tLUxhHe3X6ZHi7A6MFOMtZOV+7g5TJX94YyAcsT5AWFSnl1Wv4dZcIJXsFkcZguFu6WI/Psc09K3zsA6NtXrqdcKv7XRBxivTKvfZ14PYhLgOuU+o1HreCQvolr5nmiX2gORmvD2Xc3qbHI=
|
||||||
before_install:
|
|
||||||
- wget http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
|
|
||||||
- tar xf rust-nightly-x86_64-unknown-linux-gnu.tar.gz
|
|
||||||
install:
|
|
||||||
- sudo ./rust-nightly-x86_64-unknown-linux-gnu/install.sh
|
|
||||||
script:
|
script:
|
||||||
- make all docs test
|
- cargo build --verbose
|
||||||
|
- cargo test --verbose
|
||||||
|
- cargo doc --verbose
|
||||||
after_script:
|
after_script:
|
||||||
|
- ln -s target/doc doc
|
||||||
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
|
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue