Provided a cleaner way to exclude build jobs from the matrix.

This commit is contained in:
Omer Katz
2015-02-02 07:26:17 +02:00
parent e89f6e489d
commit cfd0188449

View File

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