From 102c94fc38369e6addf65078bd0f4346c07459d1 Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Tue, 31 Jan 2017 11:10:31 -0500 Subject: [PATCH] Add i386 build (#612) Adds a 32-bit (debian) build to travis-ci. --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7a9d763e9..c19cab3dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,6 +36,9 @@ matrix: apt: sources: [ubuntu-toolchain-r-test, kubuntu-backports] packages: [g++-4.8, cmake] + - sudo: true + services: docker + env: ARCH=i386 PYTHON=3.5 CPP=14 GCC=6 # A barebones build makes sure everything still works without optional deps (numpy/scipy/eigen) # and also tests the automatic discovery functions in CMake (Python version, C++ standard). - os: linux @@ -71,7 +74,7 @@ before_install: if [ "$TRAVIS_OS_NAME" = "linux" ]; then if [ -z "$GCC" ]; then export GCC=4.8; fi export CXX=g++-$GCC CC=gcc-$GCC; - if [ "$GCC" = "6" ]; then export DOCKER=debian:testing + if [ "$GCC" = "6" ]; then export DOCKER=${ARCH:+$ARCH/}debian:testing elif [ "$GCC" = "7" ]; then export DOCKER=debian:experimental APT_GET_EXTRA="-t experimental" fi elif [ "$TRAVIS_OS_NAME" = "osx" ]; then