]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Modified ".travis.yml" to test it's own built wheel 2890/head
authorodidev <odidev@puresoftware.com>
Mon, 7 Sep 2020 14:55:38 +0000 (14:55 +0000)
committerodidev <odidev@puresoftware.com>
Tue, 22 Sep 2020 11:40:21 +0000 (11:40 +0000)
Signed-off-by: odidev <odidev@puresoftware.com>
.travis.yml

index 866fae1fe1a9bea217d0f01f68a1d270ee10504e..f546439060f658b4b04109fc8db042270d16b9bf 100644 (file)
@@ -7,13 +7,7 @@ addons:
     packages:
       - libgnutls-dev
 
-env:
-  global:
-    - CIBW_ENVIRONMENT="PYCURL_SSL_LIBRARY=nss"
-    - CIBW_BEFORE_BUILD="yum install -y libcurl-devel openssl-devel"
-    - CIBW_TEST_REQUIRES="tox"
-
-# For a list of available versions,run
+# For a list of available versions, run
 #     aws s3 ls s3://travis-python-archives/binaries/ubuntu/16.04/x86_64/
 jobs:
   fast_finish: true
@@ -71,13 +65,6 @@ jobs:
     - python: nightly
 
 install:
-    - |
-      if [[ -n ${BUILD_WHEEL} ]]; then
-         # To test it's own built wheel
-         export CIBW_TEST_COMMAND="cd {project} && tox -e $TOX_ENV"
-         pip install -U cibuildwheel
-         cibuildwheel --output-dir dist
-      fi
     - travis_retry pip install tox
     - python -VV
     - curl-config --version; pip freeze
@@ -87,4 +74,9 @@ script:
       # Skipping the tests for which we have already tested using it's own built wheel 
       if [[ -z ${BUILD_WHEEL} ]]; then
          tox -e $TOX_ENV -- $TOX_ARGS
+      else
+         export CIBW_MANYLINUX_X86_64_IMAGE=manylinux1
+         pip install -U cibuildwheel
+         cibuildwheel --output-dir dist
+         tox --installpkg dist/*.whl -e $TOX_ENV -- $TOX_ARGS
       fi