Navigation Menu

Skip to content

Commit

Permalink
add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
nicwest committed Feb 1, 2016
1 parent 0b48e10 commit d2dc870
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
@@ -0,0 +1,13 @@
language: python
python:
- "2.7"
- "3.4"
install:
- pip install tox-travis
script:
- tox

notifications:
email:
on_success: never
on_failure: change
11 changes: 8 additions & 3 deletions tox.ini
Expand Up @@ -4,12 +4,17 @@ max-line-length=100
exclude=.svn,CVS,.bzr,.hg,.git,__pycache,.venv,.cache,todotxt_machine/test/*

[tox]
envlist = py27,py35
envlist = py27,py35,py34,flake8

[testenv]
passenv=*
deps=pytest
commands=flake8
py.test
commands=py.test

[testenv:flake8]
deps = flake8
commands = flake8

[tox:travis]
2.7 = py27
3.4 = py34, flake8

0 comments on commit d2dc870

Please sign in to comment.