From d1eabe699a0e4137bb3b5cab9c1fc2922f122f0c Mon Sep 17 00:00:00 2001
From: Marco A L Barbosa <malbarbo@gmail.com>
Date: Fri, 27 Oct 2017 11:06:40 -0200
Subject: [PATCH] Enable x86_64-unknown-linux-gnux32 on CI

---
 .travis.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index e3c30b08..3bac9449 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
-- 
GitLab