From ca10a06bf24a34459be8204fdf24d6fc0c4dcb86 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 18 Apr 2020 14:48:31 +0100 Subject: Test wheels after building --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) 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/* -- cgit v1.2.3