Merge pull request #47 from thedrow/patch-4

Provided a cleaner way to exclude build jobs from the matrix
This commit is contained in:
Jason Paryani
2015-02-01 21:39:30 -08:00

View File

@@ -11,6 +11,12 @@ env:
- BUILD_CAPNP=true - BUILD_CAPNP=true
- BUILD_CAPNP= - BUILD_CAPNP=
# skip testing for pypy + BUILD_CAPNP=false since it's failing in travis for some reason
matrix:
exclude:
- python: pypy
env: BUILD_CAPNP=
compiler: gcc compiler: gcc
before_install: before_install:
@@ -22,5 +28,4 @@ before_install:
install: install:
- travis_retry pip install --editable . - travis_retry pip install --editable .
# skip testing for pypy + BUILD_CAPNP=false since it's failing in travis for some reason script: py.test test;
script: if [[ $TRAVIS_PYTHON_VERSION != 'pypy' || $BUILD_CAPNP == 'true' ]]; then py.test test; fi