fix travis build
This commit is contained in:
parent
784b9d8fa1
commit
44f3647b9a
1 changed files with 5 additions and 7 deletions
12
.travis.yml
12
.travis.yml
|
@ -21,12 +21,8 @@ before_install:
|
||||||
- yes | sudo add-apt-repository ppa:cmrx64/cargo
|
- yes | sudo add-apt-repository ppa:cmrx64/cargo
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
install:
|
install:
|
||||||
# cargo
|
- wget http://www.rust-lang.org/rustup.sh
|
||||||
- sudo apt-get install cargo
|
- sudo sh ./rustup.sh
|
||||||
# rustc
|
|
||||||
- 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 -
|
|
||||||
- rustc -v
|
- rustc -v
|
||||||
script:
|
script:
|
||||||
- cargo build
|
- cargo build
|
||||||
|
@ -36,4 +32,6 @@ script:
|
||||||
- make clean
|
- make clean
|
||||||
- make doc
|
- make doc
|
||||||
after_script:
|
after_script:
|
||||||
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
|
- wget -O after_script.sh http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN
|
||||||
|
- chmod +x after_script.sh
|
||||||
|
- sh ./after_script.sh
|
||||||
|
|
Loading…
Reference in a new issue