summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorChris Dent <cdent@anticdent.org>2023-04-30 12:19:09 +0100
committerGitHub <noreply@github.com>2023-04-30 12:19:09 +0100
commit36fd9632d6ad880b24177a08435eb8e1f9b01714 (patch)
treee40622cf6a8167ea54c098a3db2361c6dab96b8c /.travis.yml
parent59eaf315d0e25ea8189e63d4f448d9808f8eb85d (diff)
downloadpaste-git-36fd9632d6ad880b24177a08435eb8e1f9b01714.tar.gz
Add github actions tests (#77)
Borrowing the configuration from wsg-intercept and then editing to fit so that we've got some automated tests. To get this to work it was necessary to: * adjust python versions * update action version * pin the ubuntu version * fix warning in test_grantip * form.cgi needs to not use six because it is not running in the virtualenv * quiet deprecations in in form.cgi because cgi module is deprecated * Skip the proxy test as it uses httpbin.org which is unreliable
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml28
1 files changed, 0 insertions, 28 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 6655569..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-sudo: false
-language: python
-install:
- - pip install tox
-script:
- - tox
-matrix:
- include:
- - python: 2.7
- env: TOXENV=py27-coverage
- - python: 3.5
- env: TOXENV=py35-coverage
- - python: 3.6
- env: TOXENV=py36-coverage
- - python: 3.7
- env: TOXENV=py37-coverage
- - python: 3.8
- env: TOXENV=py38-coverage
- - python: pypy
- env: TOXENV=pypy-coverage
-
-after_success:
- - |
- flags=${TOXENV%-coverage}
- if [[ "$flags" != "$TOXENV" ]]; then
- .tox/$TOXENV/bin/coverage xml
- bash <(curl -s https://codecov.io/bash) -Z -X gcov -X search -X xcode -X fix -X coveragepy -f coverage.xml -F "$flags"
- fi