diff options
| author | Michael Williamson <mike@zwobble.org> | 2020-05-02 11:29:29 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2020-05-02 11:29:29 +0100 |
| commit | 51709c3eac9b33c947f4d379652573c2cf490e12 (patch) | |
| tree | 05325be915a7889081ef53df27d96cf148f96508 | |
| parent | 5deba0e6a799b6e35ce090032548c3ba14a37038 (diff) | |
Generate jq.c using CIBW_BEFORE_BUILD when building wheels
| -rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index cac1a9a..ee5fb67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ jobs: - python3 -m pip install cibuildwheel==1.3.0 twine virtualenv - "make jq.c" script: + - export CIBW_BEFORE_BUILD="pip install cython==0.29.16 && cython jq.pyx" - export CIBW_TEST_REQUIRES="-r test-requirements.txt" - export CIBW_TEST_COMMAND="nosetests {project}/tests" - python3 -m cibuildwheel --output-dir wheelhouse && @@ -35,6 +36,7 @@ jobs: - python3 -m pip install cibuildwheel==1.3.0 twine virtualenv - "make jq.c" script: + - export CIBW_BEFORE_BUILD="pip install cython==0.29.16 && cython jq.pyx" - export CIBW_TEST_REQUIRES="-r test-requirements.txt" - export CIBW_TEST_COMMAND="nosetests {project}/tests" - python3 -m cibuildwheel --output-dir wheelhouse && |
