summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dent <chris.dent@gmail.com>2018-11-22 18:14:36 +0000
committerChris Dent <chris.dent@gmail.com>2018-11-22 18:33:17 +0000
commitfceaaecafce9e9137ebaa43141eac76f1c5a7efc (patch)
treedcf6db850b5ac2289e6a357bb0ce69349d556b2c
parent9cbc584a86bd1ae425bd0c0c3c00617d7e59475d (diff)
downloadpastedeploy-git-fixup-testing.tar.gz
Establish testingfixup-testing
Bring tox defaults into a reasonable state, removing env aliases that tox no longer supports. Set up travis.ci, including using dist: xenial to get python 3.7 support. pypy is only in trusty. In the process add a .gitignore so ignored files don't get in the way of doing this work.
-rw-r--r--.gitignore6
-rw-r--r--.travis.yml25
-rw-r--r--tox.ini3
3 files changed, 33 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..821a2ac
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+.coverage
+.tox
+*.pyc
+PasteDeploy.egg-info
+coverage.xml
+htmlcov
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..07423a8
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+sudo: false
+dist: xenial
+language: python
+install:
+ - pip install tox
+script:
+ - tox
+matrix:
+ include:
+ - python: 2.7
+ env: TOXENV=py27
+ - python: 3.4
+ env: TOXENV=py34
+ - python: 3.5
+ env: TOXENV=py35
+ - python: 3.6
+ env: TOXENV=py36
+ - python: 3.7
+ env: TOXENV=py37
+ - python: pypy
+ env: TOXENV=pypy
+ dist: trusty
+ - python: pypy3
+ env: TOXENV=pypy3
+ dist: trusty
diff --git a/tox.ini b/tox.ini
index 18af92a..42469da 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,8 @@
[tox]
-envlist = py26, py27, py33, py34, py35, pypy
+envlist = py27, py34, py35, py36, py37, pypy, pypy3
[testenv]
+usedevelop = True
deps =
# Paste works on Python 3 since Paste 2.0
Paste