simplified .travis.yml.
This commit is contained in:
parent
417f6ebdcf
commit
31696204e7
25
.travis.yml
25
.travis.yml
|
@ -1,22 +1,17 @@
|
||||||
|
language: rust
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
- LD_LIBRARY_PATH: /usr/local/lib
|
||||||
- secure: i8Ijk6g4/26e3e7+r2OeGAPSP8G8O9P50JibW1omJ0j0ixXhyhPoY2bch3CGhnOu44dI5O31IIbjJJ+iEMp29xQBvkv9YpxAI+hIzOP+XAH6GCYxUDiBVcDoWrXTj+wU6/veuvjLCunu4eRHlskrgJbZXhUVODYzJuLgsN8Ou0w=
|
- secure: i8Ijk6g4/26e3e7+r2OeGAPSP8G8O9P50JibW1omJ0j0ixXhyhPoY2bch3CGhnOu44dI5O31IIbjJJ+iEMp29xQBvkv9YpxAI+hIzOP+XAH6GCYxUDiBVcDoWrXTj+wU6/veuvjLCunu4eRHlskrgJbZXhUVODYzJuLgsN8Ou0w=
|
||||||
before_install:
|
before_script:
|
||||||
# - yes | sudo add-apt-repository ppa:hansjorg/rust
|
- rustc -v
|
||||||
# - sudo apt-get update
|
- cargo -V
|
||||||
# - sudo apt-get install rust-nightly
|
|
||||||
- curl -O http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
|
|
||||||
- curl -O http://static.rust-lang.org/cargo-dist/cargo-nightly-x86_64-unknown-linux-gnu.tar.gz
|
|
||||||
- tar xfz rust-nightly-x86_64-unknown-linux-gnu.tar.gz
|
|
||||||
- tar xfz cargo-nightly-x86_64-unknown-linux-gnu.tar.gz
|
|
||||||
- (cd rust-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh)
|
|
||||||
- (cd cargo-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh)
|
|
||||||
script:
|
script:
|
||||||
- cargo build
|
- cargo build -v
|
||||||
- cargo test
|
- cargo test -v
|
||||||
- cargo doc
|
- cargo doc
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
after_script:
|
after_script:
|
||||||
- cd target && curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
|
- cd target && curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
|
||||||
|
|
Loading…
Reference in New Issue