build matrix for python

This commit is contained in:
Meredith L. Patterson 2013-11-26 15:45:34 -08:00
parent 1e7553d3df
commit 5dea57c4d4

View file

@ -2,11 +2,31 @@ language: c
compiler:
- gcc
- clang
env:
- BINDINGS=none
matrix:
include:
- compiler: gcc
language: python
python: 2.7
env: BINDINGS=python
- compiler: clang
language: python
python: 2.7
env: BINDINGS=python
- compiler: gcc
language: python
python: 2.6
env: BINDINGS=python
- compiler: clang
language: python
python: 2.6
env: BINDINGS=python
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq swig python-dev python-nose
- if [ "$BINDINGS" == "python" ]; then sudo apt-get install -qq swig python-dev; fi
script:
- scons
- scons bindings=$BINDINGS test
notifications:
irc:
channels: