Move from tox to tox-travis in .travis.yml

This commit is contained in:
Gergely Polonkai 2015-11-27 09:52:09 +01:00
parent 1662b92d75
commit 9f7541ee9b
2 changed files with 8 additions and 5 deletions

View File

@ -1,8 +1,9 @@
sudo: false
language: python language: python
python: python:
- "2.7" - "2.7"
- "3.4" - "3.4"
install: install:
- pip install tox - pip install tox-travis
script: script:
- tox - tox

10
tox.ini
View File

@ -6,8 +6,10 @@
[tox] [tox]
envlist = py27,py34 envlist = py27,py34
[tox:travis]
2.7 = py27
3.4 = py34
[testenv] [testenv]
commands = coverage run manage.py test commands = python manage.py test
deps = deps = -rrequirements.txt
-rrequirements.txt
coverage