summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2021-01-25 20:31:22 +0000
committerMichael Williamson <mike@zwobble.org>2021-01-27 14:01:22 +0000
commit615d65fa173824db6654d0c4e078a020924f865a (patch)
tree1508bb50752a3fb7280c8ca8f22d5a020c6adb9e /.travis.yml
parentdb51e965e0fdd2250fa46b23800ab35426e09279 (diff)
Replace Travis with GitHub actions
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml52
1 files changed, 0 insertions, 52 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 7728d0c..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-language: python
-python:
- - "2.7"
- - "3.4"
- - "3.5"
- - "3.6"
- - "3.7"
- - "3.8"
- - "pypy"
- - "pypy3"
-
-jobs:
- include:
- - if: tag =~ /^([0-9]+\.[0-9]+\.[0-9]+)(\.?(dev|a|b|rc)[0-9]+)?$/
- name: "Linux wheels"
- services:
- - "docker"
- python: "3.8"
- install:
- - python3 -m pip install cibuildwheel==1.6.2 twine virtualenv
- script:
- - 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 &&
- twine check wheelhouse/*.whl &&
- twine upload wheelhouse/*.whl --skip-existing
-
- - if: tag =~ /^([0-9]+\.[0-9]+\.[0-9]+)(\.?(dev|a|b|rc)[0-9]+)?$/
- name: "OS X wheels"
- os: osx
- osx_image: xcode11.2
- language: "shell"
- install:
- - python3 -m pip install cibuildwheel==1.6.2 twine virtualenv
- script:
- - 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 &&
- twine check wheelhouse/*.whl &&
- twine upload wheelhouse/*.whl --skip-existing
-
-env:
- global:
- - TWINE_USERNAME=__token__
- # Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings
-
-install:
- - "make jq.c"
- - "pip install tox"
-script: tox -e py