diff options
Diffstat (limited to 'gcc/.travis.yml')
-rw-r--r-- | gcc/.travis.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/.travis.yml b/gcc/.travis.yml index 10d3d13..ff57da5 100644 --- a/gcc/.travis.yml +++ b/gcc/.travis.yml @@ -14,8 +14,7 @@ sudo: false install: - if [ "$TRAVIS_OS_NAME" = "linux" ]; then OS=unknown-linux-gnu; else OS=apple-darwin; fi - export TARGET=$ARCH-$OS - - curl https://static.rust-lang.org/rustup.sh | - sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot` + - if [ -z "$NO_ADD" ]; then rustup target add $TARGET; fi before_script: - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH script: @@ -35,7 +34,7 @@ env: secure: "CBtqrudgE0PS8x3kTr44jKbC2D4nfnmdYVecooNm0qnER4B4TSvZpZSQoCgKK6k4BYQuOSyFTOwYx6M79w39ZMOgyCP9ytB+tyMWL0/+ZuUQL04yVg4M5vd3oJMkOaXbvG56ncgPyFrseY+FPDg+mXAzvJk/nily37YXjkQj2D0=" matrix: - - ARCH=x86_64 + - ARCH=x86_64 NO_ADD=1 - ARCH=i686 notifications: email: |