summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2020-04-18 14:48:31 +0100
committerMichael Williamson <mike@zwobble.org>2020-04-18 14:48:31 +0100
commitca10a06bf24a34459be8204fdf24d6fc0c4dcb86 (patch)
treed40a11ae159b365d6fbf90cade8f54762c4477c7
parent6c883359c6fd3ac2541876394f9feeeab70e2027 (diff)
Test wheels after building
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index a21fb75..ae49f3b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,6 +19,8 @@ jobs:
- python3 -m pip install cibuildwheel==1.3.0 twine virtualenv
- "make jq.c"
script:
+ - export CIBW_TEST_REQUIRES="-r test-requirements.txt"
+ - export CIBW_TEST_COMMAND="nosetests {project}/tests"
- python3 -m cibuildwheel --output-dir wheelhouse
- twine check wheelhouse/*
@@ -30,6 +32,8 @@ jobs:
- python3 -m pip install cibuildwheel==1.3.0 twine virtualenv
- "make jq.c"
script:
+ - export CIBW_TEST_REQUIRES="-r test-requirements.txt"
+ - export CIBW_TEST_COMMAND="nosetests {project}/tests"
- python3 -m cibuildwheel --output-dir wheelhouse
- twine check wheelhouse/*