Provided a cleaner way to exclude build jobs from the matrix.
This commit is contained in:
@@ -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:
|
||||||
- pip install --editable .
|
- 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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user