Fix .travis.yml to use rustup.
This commit is contained in:
parent
c408d5a0b2
commit
1b7cd5fe1f
10
.travis.yml
10
.travis.yml
|
@ -2,20 +2,12 @@ env:
|
||||||
global:
|
global:
|
||||||
- secure: GwyxF8F9NKc9M2YypZZMGyIolTf7lDfeKnhhGre28HuzE4e9oIB7dUGjqYrx6uQ/ei++rpd+pjhTFilnX5inS/E+7R7DRvdX00JERWPF+qgiWpxPAoT/iI2RQ+7PKiLcwrzdzQIhSfIse/FikdpkeSY0FJG9/vu/HXNzFxDBPW0=
|
- secure: GwyxF8F9NKc9M2YypZZMGyIolTf7lDfeKnhhGre28HuzE4e9oIB7dUGjqYrx6uQ/ei++rpd+pjhTFilnX5inS/E+7R7DRvdX00JERWPF+qgiWpxPAoT/iI2RQ+7PKiLcwrzdzQIhSfIse/FikdpkeSY0FJG9/vu/HXNzFxDBPW0=
|
||||||
language: c
|
language: c
|
||||||
before_install:
|
|
||||||
- yes | sudo add-apt-repository ppa:cmrx64/cargo
|
|
||||||
install:
|
install:
|
||||||
- sudo apt-get update
|
- 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
|
- 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:
|
script:
|
||||||
- rustc --version
|
- rustc --version
|
||||||
- make
|
- make
|
||||||
- make test
|
|
||||||
- make bench
|
|
||||||
- make doc
|
|
||||||
after_script:
|
after_script:
|
||||||
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
|
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
|
||||||
|
|
Loading…
Reference in New Issue