Update Travis-CI config for C++ integration.

This commit is contained in:
Jason Evans 2016-12-13 14:53:10 -08:00
parent 69c26cdb01
commit 590ee2a6e0

View File

@ -1,27 +1,24 @@
language: c language: generic
matrix: matrix:
include: include:
- os: linux - os: linux
compiler: gcc env: CC=gcc CXX=g++
env: CC=clang CXX=clang++
- os: linux - os: linux
compiler: gcc env: CC=gcc CXX=g++ EXTRA_FLAGS=-m32
env: env: CC=clang CXX=clang++ EXTRA_FLAGS=-m32
- EXTRA_FLAGS=-m32
addons: addons:
apt: apt:
packages: packages:
- gcc-multilib - gcc-multilib
- os: osx - os: osx
compiler: clang env: CC=clang CXX=clang++
- os: osx env: CC=clang CXX=clang++ EXTRA_FLAGS=-m32
compiler: clang
env:
- EXTRA_FLAGS=-m32
before_script: before_script:
- autoconf - autoconf
- ./configure${EXTRA_FLAGS:+ CC="$CC $EXTRA_FLAGS"} - ./configure${EXTRA_FLAGS:+ CC="$CC $EXTRA_FLAGS" CXX="$CXX $EXTRA_FLAGS"}
- make -j3 - make -j3
- make -j3 tests - make -j3 tests