2016-12-14 06:53:10 +08:00
|
|
|
language: generic
|
2016-06-09 23:17:19 +08:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
2016-12-14 06:53:10 +08:00
|
|
|
env: CC=gcc CXX=g++
|
2016-12-14 08:19:20 +08:00
|
|
|
- os: linux
|
2016-12-14 06:53:10 +08:00
|
|
|
env: CC=clang CXX=clang++
|
2016-06-09 23:17:19 +08:00
|
|
|
- os: linux
|
2016-12-14 06:53:10 +08:00
|
|
|
env: CC=gcc CXX=g++ EXTRA_FLAGS=-m32
|
2016-12-14 08:19:20 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-multilib
|
|
|
|
- os: linux
|
2016-12-14 06:53:10 +08:00
|
|
|
env: CC=clang CXX=clang++ EXTRA_FLAGS=-m32
|
2016-06-09 23:17:19 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-multilib
|
|
|
|
- os: osx
|
2016-12-14 06:53:10 +08:00
|
|
|
env: CC=clang CXX=clang++
|
2016-12-14 08:19:20 +08:00
|
|
|
- os: osx
|
2016-12-14 06:53:10 +08:00
|
|
|
env: CC=clang CXX=clang++ EXTRA_FLAGS=-m32
|
2016-06-09 23:17:19 +08:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- autoconf
|
2016-12-14 06:53:10 +08:00
|
|
|
- ./configure${EXTRA_FLAGS:+ CC="$CC $EXTRA_FLAGS" CXX="$CXX $EXTRA_FLAGS"}
|
2016-06-09 23:17:19 +08:00
|
|
|
- make -j3
|
|
|
|
- make -j3 tests
|
|
|
|
|
|
|
|
script:
|
|
|
|
- make check
|