diff --git a/.travis.yml b/.travis.yml index e3c30b087540d4a924ea647fda05c50719315a72..3bac9449bf9f03510445d479380367512dd1df0c 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