Merge pull request #168 from herrernst/travis-rustup-rs

use rustup.rs for travis
This commit is contained in:
Paul Liétar 2017-03-26 12:48:47 +01:00 committed by GitHub
commit 3b6a85e83d

View file

@ -19,7 +19,7 @@ before_script:
- mkdir -p ~/.cargo
- echo '[target.armv7-unknown-linux-gnueabihf]' > ~/.cargo/config
- echo 'linker = "arm-linux-gnueabihf-gcc"' >> ~/.cargo/config
- sh ~/rust-installer/rustup.sh --prefix=$(rustc --print sysroot) -y --disable-sudo --add-target=armv7-unknown-linux-gnueabihf
- rustup target add armv7-unknown-linux-gnueabihf
script:
- cargo build --no-default-features