summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2020-05-02 11:32:27 +0100
committerMichael Williamson <mike@zwobble.org>2020-05-02 11:32:27 +0100
commit28adcf9a898a9a9b74b74560a5f32ea82821bc8e (patch)
tree4bb8eff07990ad6f1a36ac8b6dd98af62b5db6ba
parent51709c3eac9b33c947f4d379652573c2cf490e12 (diff)
Use project-relative path to jq.c
-rw-r--r--.travis.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index ee5fb67..f7b8a2f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,9 +18,8 @@ jobs:
python: "3.8"
install:
- 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_BEFORE_BUILD="pip install cython==0.29.16 && cython {project}/jq.pyx"
- export CIBW_TEST_REQUIRES="-r test-requirements.txt"
- export CIBW_TEST_COMMAND="nosetests {project}/tests"
- python3 -m cibuildwheel --output-dir wheelhouse &&
@@ -34,9 +33,8 @@ jobs:
language: "shell"
install:
- 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_BEFORE_BUILD="pip install cython==0.29.16 && cython {project}/jq.pyx"
- export CIBW_TEST_REQUIRES="-r test-requirements.txt"
- export CIBW_TEST_COMMAND="nosetests {project}/tests"
- python3 -m cibuildwheel --output-dir wheelhouse &&