summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-03-03 13:40:09 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-03-03 13:40:09 -0800
commitc02a5c237a166062ba1df6324a3a631e0bf28f66 (patch)
tree8da8d210f7c6bb26351fda61639cf7a85db3402f /ci
parent91ef172b007a209e588d01253c3c089f9ca20284 (diff)
downloadrust-libc-c02a5c237a166062ba1df6324a3a631e0bf28f66.tar.gz
Use nightlies for iOS and rumprun
iOS was fixed awhile back and we should have rumprun nightlies now, so let's use them!
Diffstat (limited to 'ci')
-rw-r--r--ci/run-travis.sh28
1 files changed, 4 insertions, 24 deletions
diff --git a/ci/run-travis.sh b/ci/run-travis.sh
index e4fdcff563..d9f708aa12 100644
--- a/ci/run-travis.sh
+++ b/ci/run-travis.sh
@@ -19,7 +19,6 @@ fi
MAIN_TARGETS=https://static.rust-lang.org/dist
DATE=$(echo $TRAVIS_RUST_VERSION | sed s/nightly-//)
-EXTRA_TARGETS=https://people.mozilla.org/~acrichton/libc-test/$DATE
if [ "$DATE" != "nightly" ]; then
MAIN_TARGETS=$MAIN_TARGETS/$DATE
TRAVIS_RUST_VERSION=nightly
@@ -108,30 +107,11 @@ mkdir -p .cargo
cp ci/cargo-config .cargo/config
# Next up we need to install the standard library for the version of Rust that
-# we're testing. Get fancy targets from the EXTRA_TARGETS URL and otherwise get
-# all others from the official distribution.
+# we're testing.
if [ "$TRAVIS" = "true" ]; then
- case "$TARGET" in
- *-rumprun-*)
- curl -s $EXTRA_TARGETS/$TARGET.tar.gz | \
- tar xzf - -C `rustc --print sysroot`/lib/rustlib
- ;;
-
- *)
- # Download the rustlib folder from the relevant portion of main
- # distribution's tarballs.
- dir=rust-std-$TARGET
- pkg=rust-std
- if [ "$TRAVIS_RUST_VERSION" = "1.0.0" ]; then
- pkg=rust
- dir=rustc
- fi
- curl -s $MAIN_TARGETS/$pkg-$TRAVIS_RUST_VERSION-$TARGET.tar.gz | \
- tar xzf - -C $HOME/rust/lib/rustlib --strip-components=4 \
- $pkg-$TRAVIS_RUST_VERSION-$TARGET/$dir/lib/rustlib/$TARGET
- ;;
-
- esac
+ curl -s $MAIN_TARGETS/rust-std-$TRAVIS_RUST_VERSION-$TARGET.tar.gz | \
+ tar xzf - -C $HOME/rust/lib/rustlib --strip-components=4 \
+ rust-std-$TRAVIS_RUST_VERSION-$TARGET/rust-std-$TARGET/lib/rustlib/$TARGET
fi
# If we're testing with a docker image, then run tests entirely within that