Skip to content

Commit

Permalink
Auto merge of rust-lang#326 - posborne:fix-arm-and-x86-ci, r=kamalmar…
Browse files Browse the repository at this point in the history
…hubi

Fix arm and x86 ci

See the individual commit message for more detail.  ARM is now passing (but we don't run mount tests any more when in the docker container).  For x86_64/i686, there were some changes in the posborne/rust-cross stuff.
  • Loading branch information
homu committed Mar 22, 2016
2 parents 56abfc2 + 4a3293c commit 29c1697
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ matrix:
sudo: true
allow_failures:
- rust: nightly
- env: TARGET=aarch64-unknown-linux-gnu DOCKER_IMAGE=posborne/rust-cross:arm
- env: TARGET=arm-unknown-linux-gnueabihf DOCKER_IMAGE=posborne/rust-cross:arm
- env: TARGET=mips-unknown-linux-gnu DOCKER_IMAGE=posborne/rust-cross:mips
- env: TARGET=mipsel-unknwon-linux-gnu DOCKER_IMAGE=posborne/rust-cross:mips
- env: TARGET=arm-linux-androideabi DOCKER_IMAGE=posborne/rust-cross:android
Expand Down
3 changes: 2 additions & 1 deletion ci/run-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ RUN_DOCKER="${BASE_DIR}/ci/run-docker.sh"

export RUST_VERSION=1.7.0

export DOCKER_IMAGE=posborne/rust-cross:base
export DOCKER_IMAGE=posborne/rust-cross:x86
RUST_TARGET=i686-unknown-linux-gnu ${RUN_DOCKER}
RUST_TARGET=x86_64-unknown-linux-gnu ${RUN_DOCKER}
RUST_TARGET=x86_64-unknown-linux-musl ${RUN_DOCKER}

Expand Down
2 changes: 2 additions & 0 deletions ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ BUILD_DIR="."
VERSION="$1"
TARGET="$2"

export DOCKER_ENVIRONMENT=1
export RUST_TEST_THREADS=1
export RUST_BACKTRACE=1

#
# Tell cargo what linker to use and whatever else is required
Expand Down

0 comments on commit 29c1697

Please sign in to comment.