2014-04-01 17:14:57 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- secure: i8Ijk6g4/26e3e7+r2OeGAPSP8G8O9P50JibW1omJ0j0ixXhyhPoY2bch3CGhnOu44dI5O31IIbjJJ+iEMp29xQBvkv9YpxAI+hIzOP+XAH6GCYxUDiBVcDoWrXTj+wU6/veuvjLCunu4eRHlskrgJbZXhUVODYzJuLgsN8Ou0w=
|
2014-07-12 14:41:22 +00:00
|
|
|
before_install:
|
2014-05-23 14:43:47 +00:00
|
|
|
# - yes | sudo add-apt-repository ppa:hansjorg/rust
|
|
|
|
# - sudo apt-get update
|
2014-07-12 14:41:22 +00:00
|
|
|
# - sudo apt-get install rust-nightly
|
2014-05-23 14:43:47 +00:00
|
|
|
- curl -O http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
|
2014-07-12 14:41:22 +00:00
|
|
|
- curl -O http://static.rust-lang.org/cargo-dist/cargo-nightly-linux.tar.gz
|
2014-05-23 14:43:47 +00:00
|
|
|
- tar xfz rust-nightly-x86_64-unknown-linux-gnu.tar.gz
|
2014-07-12 14:41:22 +00:00
|
|
|
- tar xfz cargo-nightly-linux.tar.gz
|
2014-07-15 04:19:22 +00:00
|
|
|
- (cd rust-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh)
|
|
|
|
- (cd cargo-nightly/ && sudo ./install.sh)
|
2014-04-01 16:30:52 +00:00
|
|
|
script:
|
2014-07-12 14:41:22 +00:00
|
|
|
- cargo build
|
|
|
|
- cargo test
|
2014-07-15 04:19:22 +00:00
|
|
|
- rustdoc src/lib.rs
|
2014-04-01 16:30:52 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2014-04-01 17:14:57 +00:00
|
|
|
after_script:
|
|
|
|
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
|