Fix .travis.yml to use rustup.

This commit is contained in:
Sébastien Crozet 2014-08-18 20:47:21 +02:00
parent c408d5a0b2
commit 1b7cd5fe1f

View File

@ -2,20 +2,12 @@ env:
global:
- secure: GwyxF8F9NKc9M2YypZZMGyIolTf7lDfeKnhhGre28HuzE4e9oIB7dUGjqYrx6uQ/ei++rpd+pjhTFilnX5inS/E+7R7DRvdX00JERWPF+qgiWpxPAoT/iI2RQ+7PKiLcwrzdzQIhSfIse/FikdpkeSY0FJG9/vu/HXNzFxDBPW0=
language: c
before_install:
- yes | sudo add-apt-repository ppa:cmrx64/cargo
install:
- sudo apt-get update
- sudo apt-get install cargo
- curl -s http://www.rust-lang.org/rustup.sh | sudo sh
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
- curl -O http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
- tar xfz rust-nightly-x86_64-unknown-linux-gnu.tar.gz
- (cd rust-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh)
script:
- rustc --version
- make
- make test
- make bench
- make doc
after_script:
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh