Travis: add a 32-bit build

This will help prevent build failures on 32-bit platforms; for example,
14efcb7cc5 worked on 64-bit platforms but not on 32-bit platforms.
This commit is contained in:
David Adam 2016-10-16 18:56:55 +08:00
parent 4f95c4b8ac
commit 170a5ea31c

View file

@ -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.