Skip to content

Commit

Permalink
Merge 5ee733e into 5195436
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed Oct 26, 2017
2 parents 5195436 + 5ee733e commit bef5947
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
Expand Up @@ -12,10 +12,14 @@ matrix:
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 2.7
env: TOXENV=qa
- python: 3.5
env: TOXENV=qa,doc

addons:
apt:
packages:
- graphviz

install: pip install -U pip tox setuptools coveralls
install: pip install --upgrade pip tox setuptools coveralls
script: tox -vv
after_success:
- coveralls
after_success: if [ "$TOXENV" == "py36" ]; then coveralls; fi
14 changes: 9 additions & 5 deletions tox.ini
Expand Up @@ -2,20 +2,24 @@
# See LICENSE.rst for details.

[tox]
envlist = py{27,34,35,36,37},qa
envlist = py{27,34,35,36,37},qa,doc
skip_missing_interpreters = True

[testenv]
commands =
python setup.py install
coverage run -m py.test -v -r w -s
coverage report
deps =
.[test]
deps = .[test]

[testenv:qa]
commands =
flake8
rstcheck README.rst
deps =
.[qa]
deps = .[qa]

[testenv:doc]
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
changedir = doc
deps = .[docs]

0 comments on commit bef5947

Please sign in to comment.