From e76ff5f3dcf36b798fa4997da40ae392ab543f76 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 21 Oct 2015 10:49:11 -0700 Subject: [PATCH] Yet another attempt to fix nightly CI --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d8ea175..184213d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ sudo: false install: - if [ "$TRAVIS_OS_NAME" = "linux" ]; then OS=unknown-linux-gnu; else OS=apple-darwin; fi - export TARGET=$ARCH-$OS - - if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then PKG=rust-std-$ARCH; else PKG=rustc; fi + - if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then PKG=rust-std-$TARGET; else PKG=rustc; fi - curl -sO https://static.rust-lang.org/dist/rust-$TRAVIS_RUST_VERSION-$TARGET.tar.gz - tar xf rust-$TRAVIS_RUST_VERSION-$TARGET.tar.gz - rm -rf $HOME/rust/lib/rustlib/$TARGET