Added 32bit build to test matrix.

This commit is contained in:
John McNamara 2016-06-26 03:28:09 +01:00
parent c4d68e5d92
commit d7a3e2ae5f
5 changed files with 26 additions and 19 deletions

View file

@ -4,20 +4,21 @@ compiler:
- clang
- gcc
env:
- CFLAGS='-Werror'
- CFLAGS='-Werror -m32'
install:
- sudo pip install pytest
- sudo apt-get update
- sudo apt-get install -y gcc-multilib
- sudo apt-get install -y zlib1g-dev
- sudo apt-get install -y zlib1g-dev:i386
- sudo apt-get install -y gcc
- sudo apt-get install -y valgrind
- curl -O -L http://zlib.net/zlib-1.2.8.tar.gz
- tar zxf zlib-1.2.8.tar.gz
- cd zlib-1.2.8
- ./configure
- make
- sudo make install
- cd ..
script:
- CFLAGS=-Werror make
- make test_functional
- make test_unit
- make test_valgrind
- make V=1
- make test_functional V=1
- make test_unit V=1
- make test_valgrind V=1