Fix CI build (#581)
diff --git a/.travis.yml b/.travis.yml
index 175269a..160f0aa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -62,8 +62,7 @@
- cargo build
- CARGO_TARGET_DIR=`pwd` sh ci/run-ios.sh $TARGET
install:
- - curl https://static.rust-lang.org/rustup.sh |
- sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot`
+ - rustup target add $TARGET
# Android
- os: linux
@@ -74,8 +73,7 @@
- cargo build --no-default-features
- sh ci/run-docker.sh $TARGET;
install:
- - curl https://static.rust-lang.org/rustup.sh |
- sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot`
+ - rustup target add $TARGET
# FreeBSD
- os: linux