Skip to content

Commit

Permalink
Use tox-travis
Browse files Browse the repository at this point in the history
  • Loading branch information
noahmorrison committed Jun 15, 2017
1 parent 80a6898 commit e7a58c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
sudo: false
language: python

python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"

install:
- pip install flake8
- pip install coveralls
script:
- flake8 .
- ./test_spec.py
- coverage run --source=chevron ./test_spec.py
- pip install tox-travis

script: tox

after_success:
- coveralls
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py26, py27, py33, py34, pypy, pypy3, flake8
envlist = py26, py27, py33, py34, pypy, flake8

[testenv]
commands = python {toxinidir}/test_spec.py
Expand Down

0 comments on commit e7a58c1

Please sign in to comment.