Skip to content

Commit

Permalink
BUILD: Setup tox.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Sanderson committed Feb 8, 2016
1 parent 877c3d6 commit 97aab71
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
language: python
sudo: false
python:
- 3.4.3
- 3.5.0
- 3.4.3
- 3.5.0

install:
- pip install -e .[dev]
- pip install -e .[dev]

script:
- py.test codetransformer
- flake8 codetransformer
- py.test codetransformer
- flake8 codetransformer

notifications:
email: false
3 changes: 0 additions & 3 deletions pytest.ini

This file was deleted.

1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'dev': [
'flake8==2.4.0',
'pytest==2.8.4',
'pytest-cov==2.2.1',
],
},
)
13 changes: 13 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[tox]
envlist=py{34,35}
skip_missing_interpreters=True

[testenv]
commands=
pip install -e .[dev]
py.test

[pytest]
addopts = --doctest-modules --cov codetransformer --cov-report html --ignore setup.py
testpaths = codetransformer
norecursedirs = decompiler

0 comments on commit 97aab71

Please sign in to comment.