Fix travis.yml.

See http://bettong.net/2014/05/09/how-to-test-rust-on-travis-ci/
This commit is contained in:
Sébastien Crozet 2014-05-09 23:17:15 +02:00
parent 9badebf24c
commit 81b132d34e

View File

@ -1,12 +1,13 @@
env: 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=
before_install: language: c
- yes | sudo add-apt-repository ppa:hansjorg/rust
- sudo apt-get update
install: install:
- sudo apt-get install rust-nightly - 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
- make - make
- make test - make test
- make bench - make bench