From 1f2b37a6000a387748195d17c20322f10ec5fbfe Mon Sep 17 00:00:00 2001 From: herrernst Date: Sun, 26 Mar 2017 13:24:48 +0200 Subject: [PATCH] use rustup.rs for travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 83645cdc..726cedd4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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