Skip to content

Commit

Permalink
travis and tox updates
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Mar 12, 2018
1 parent f3da0a5 commit d89cbc0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
19 changes: 13 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
language: python
python: "3.5"
sudo: false
python:
- 3.5
matrix:
include:
- env: TOXENV=py35
python: 3.5
- env: TOXENV=py36
python: 3.6
#- env: TOXENV=py37
# python: 3.7
install:
- pip install tox codecov
- pip install tox-travis codecov
script:
- tox
env:
- TOXENV=py35
- TOXENV=docs
- tox
after_success:
- codecov
11 changes: 5 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ envlist = py27,py35,py36,py37,lint,docs
skip_missing_interpreters = true

[testenv]
deps = -rrequirements-test.txt
commands =
deps=-rrequirements-test.txt
commands=
coverage run -a setup.py test
coverage report --show-missing
coverage report --show-missing --ignore-errors
coverage html -i

[testenv:lint]
Expand All @@ -20,8 +20,7 @@ basepython=
python
changedir=
docs
deps=
-rdocs/requirements.txt
sphinx
deps=-rdocs/requirements.txt
sphinx
commands=
sphinx-build -b html ./ ./html

0 comments on commit d89cbc0

Please sign in to comment.