Skip to content

Commit

Permalink
update travis to add codevoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomohare committed Jul 7, 2018
1 parent 3bf89f6 commit d1cdb59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ branches:
only:
- master
install:
- pip install tox-travis coverage
- pip install tox-travis coverage codecov
- pip install -rrequirements.txt
- pip install .
script:
- tox
after_success:
- codecov
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ envlist =

[testenv]
setenv = PYLINT_THRESHOLD = {env:PYLINT_THRESHOLD:6.50}
passenv = TOXENV CI TRAVIS TRAVIS_*
deps =
-rrequirements.txt
-rrequirements-test.txt
codecov>=1.4.0
coverage,full: pytest-cov
static_analysis,pep8,full: flake8
static_analysis,pylint,full: pylint
Expand All @@ -19,6 +21,7 @@ commands =
static_analysis,pep8,full: py.test -vv --ignore=rydown/parsetab.py
static_analysis,pylint,full: pylint --ignore=rydown/parsetab.py rydown
coverage run -m pytest -vs {toxinidir}/tests
codecov -e TOXENV

[pytest]
addopts = -rsvvxX

0 comments on commit d1cdb59

Please sign in to comment.