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
python:
- "2.7"
- "3.4"
install:
- pip install tox
- pip install tox-travis
script:
- tox

10
tox.ini
View File

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