2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-20 04:42:28 +00:00

Augment test matrix with C++11.

This commit is contained in:
Stefan Seefeld
2016-06-26 07:54:37 -04:00
parent 55f283bf18
commit c2d144ab71

View File

@@ -10,17 +10,32 @@
language: cpp
env:
- PYTHON=python
- PYTHON=python3
- PYTHON=python CCFLAGS=-std=c++98
- PYTHON=python CCFLAGS=-std=c++11
- PYTHON=python3 CCFLAGS=-std=c++98
- PYTHON=python3 CCFLAGS=-std=c++11
compiler:
- gcc
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- clang
- python-dev python-pip
- python3-dev
- libboost-all-dev
before_install:
- sudo apt-get install -y python-dev python-pip
- sudo pip install future
- sudo apt-get install -y python3-dev
- sudo apt-get install -y libboost-all-dev
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
script: scons config --python=$PYTHON && scons && scons test