Tox and travis config

This commit is contained in:
Simon Conseil
2013-09-29 00:39:50 +02:00
parent 3e342b8ffb
commit d8f9df2cd8
3 changed files with 17 additions and 2 deletions

3
.gitignore vendored
View File

@@ -3,8 +3,9 @@
*.pyc
*_flymake
.coverage
.sass-cache/
.ropeproject/
.sass-cache/
.tox/
nose.cfg
MANIFEST
_build/

View File

@@ -1,7 +1,7 @@
language: python
python:
- "2.7"
- "2.6"
- "3.3"
before_install:
# Dependencies to build PIL
- sudo apt-get update -qq

14
tox.ini Normal file
View File

@@ -0,0 +1,14 @@
[tox]
envlist = py27,py33
[testenv]
commands = py.test
deps =
[testenv:py27]
deps =
pytest
[testenv:py33]
deps =
pytest