[PATCH 1/4] travis: Use tox-travis
Stephen Finucane
stephen at that.guru
Tue Nov 1 04:15:59 AEDT 2016
This simplifies our .travis.yml file
Signed-off-by: Stephen Finucane <stephen at that.guru>
Cc: Daniel Axtens <dja at axtens.net>
---
.travis.yml | 24 +++++++-----------------
1 file changed, 7 insertions(+), 17 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 6e5fe52..80f5634 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,9 @@
language: python
-python: 3.5
+
+python:
+ - 2.7
+ - 3.4
+ - 3.5
services:
- mysql
@@ -9,26 +13,12 @@ env:
- PW_TEST_DB_USER=travis
- PW_TEST_DB_PASS=""
- PW_SKIP_BROWSER_TESTS=yes
- matrix:
- - TOX_ENV=py27-django16
- - TOX_ENV=py27-django17
- - TOX_ENV=py27-django18
- - TOX_ENV=py27-django19
- - TOX_ENV=py27-django110
- - TOX_ENV=py34-django16
- - TOX_ENV=py34-django17
- - TOX_ENV=py34-django18
- - TOX_ENV=py34-django19
- - TOX_ENV=py34-django110
- - TOX_ENV=py35-django18
- - TOX_ENV=py35-django19
- - TOX_ENV=py35-django110
before_script:
- mysql -e 'create database patchwork character set utf8;'
install:
- - pip install tox
+ - pip install tox-travis
script:
- - tox -e $TOX_ENV
+ - tox
--
2.7.4
More information about the Patchwork
mailing list