Fix CI for xargo 0.2.0

(cherry picked from commit c7268cff3b)
This commit is contained in:
Philipp Oppermann
2016-11-19 10:31:21 +01:00
parent 36abafab8c
commit 0fa05fb187

View File

@@ -6,9 +6,11 @@ rust:
cache: cargo
before_script:
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$TRAVIS_RUST_VERSION -y
- source ~/.cargo/env
- rustup component add rust-src
- (cargo install rustfmt || true)
- (cargo install xargo || true)
- PATH=$PATH:~/.cargo/bin
sudo: false
@@ -21,8 +23,5 @@ addons:
apt:
packages:
- nasm
- cmake
sources:
- kalakris-cmake
script: make