build matrix for python
This commit is contained in:
parent
1e7553d3df
commit
5dea57c4d4
1 changed files with 22 additions and 2 deletions
24
.travis.yml
24
.travis.yml
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue