From 28adcf9a898a9a9b74b74560a5f32ea82821bc8e Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 2 May 2020 11:32:27 +0100 Subject: Use project-relative path to jq.c --- .travis.yml | 6 ++---- 1 file 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 && -- cgit v1.2.3