fix travis build

This commit is contained in:
Ben Foppa 2014-07-21 17:08:43 -04:00
parent 784b9d8fa1
commit 44f3647b9a

View file

@ -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