summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMarco A L Barbosa <malbarbo@gmail.com>2017-10-27 11:06:40 -0200
committerMarco A L Barbosa <malbarbo@gmail.com>2017-10-27 11:06:40 -0200
commitd1eabe699a0e4137bb3b5cab9c1fc2922f122f0c (patch)
treef27653b84310999a21c424f0a000b9d4da60df0a /.travis.yml
parent0ee3935ed3375f61db7e47e3d5134765714f563e (diff)
downloadrust-libc-d1eabe699a0e4137bb3b5cab9c1fc2922f122f0c.tar.gz
Enable x86_64-unknown-linux-gnux32 on CI
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index e3c30b0875..3bac9449bf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,8 +7,8 @@ services:
install:
- if [ -z "$NO_ADD" ]; then rustup target add $TARGET; fi
script:
- - cargo build
- - cargo build --no-default-features
+ - cargo build $OPT
+ - cargo build $OPT --no-default-features
- cargo generate-lockfile --manifest-path libc-test/Cargo.toml
- if [[ $TRAVIS_OS_NAME = "linux" ]]; then
sh ci/run-docker.sh $TARGET;
@@ -93,6 +93,9 @@ matrix:
env: TARGET=x86_64-apple-darwin NO_ADD=1
osx_image: xcode8.3
rust: nightly
+ # not available on stable
+ - env: TARGET=x86_64-unknown-linux-gnux32 OPT="--release"
+ rust: nightly
# QEMU based targets that compile in an emulator
- env: TARGET=x86_64-unknown-freebsd