From 170a5ea31cfb1a2573f15a7829f112d5ed9cd96c Mon Sep 17 00:00:00 2001 From: David Adam Date: Sun, 16 Oct 2016 18:56:55 +0800 Subject: [PATCH] Travis: add a 32-bit build This will help prevent build failures on 32-bit platforms; for example, 14efcb7cc53ac worked on 64-bit platforms but not on 32-bit platforms. --- .travis.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9822f64e2..690506a01 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,17 @@ matrix: - expect - gettext - libncurses5-dev + - os: linux + compiler: gcc + addons: + apt: + packages: + - bc + - expect + - gettext + - libncurses5-dev + env: + - CXXFLAGS="-g -m32" - os: linux compiler: clang addons: @@ -43,7 +54,7 @@ script: - make -j2 - make install - make test DESTDIR=$HOME/prefix/ SHOW_INTERACTIVE_LOG=1 - + notifications: # Some items are encrypted so that notifications from other repositories # don't flood the official repositories.