Skip to content

Commit

Permalink
add py3 proper syntax checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Strikos committed Dec 14, 2015
1 parent 8af6cd3 commit a413061
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=py27-pyflakes, py27-pep8, py27-coverage, py27, py34
envlist=py27-pyflakes, py27-pep8, py27-coverage, py27, py34, py34-syntax

[testenv]
commands=python setup.py test []
Expand All @@ -21,3 +21,9 @@ commands=
coverage run --source=ripe setup.py test
coverage report -m
deps=coverage

[testenv:py34-syntax]
whitelist_externals=bash
commands=bash -c "find ripe/ tests/ -name "*.py" | xargs python -m py_compile"
basepython=python3.4
deps=

0 comments on commit a413061

Please sign in to comment.