Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
[run]
branch = True
source = cwltool

[report]
exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
ignore_errors = True
omit =
tests/*
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ python:
os:
- linux
install:
- pip install tox-travis
- pip install tox-travis coveralls
script: tox
branches:
only:
- master
notifications:
email: false
email: false

after_success:
- coveralls
11 changes: 9 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,24 @@ skip_missing_interpreters = True
3.6 = py36

[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
-rrequirements.txt
py{27,33,34,35,36}-lint: flake8

commands =
py{27,33,34,35,36}-unit: python setup.py test
py{27,33,34,35,36}-lint: flake8 schema_salad setup.py
py{27,33,35,36}-unit: python setup.py test
py{27,33,35,36}-lint: flake8 schema_salad setup.py

whitelist_externals =
py{27,33,34,35,36}-lint: flake8

[testenv:py34-unit]
commands =
pip install .
coverage run setup.py test
whitelist_externals=test

[testenv:py35-mypy2]
commands = make mypy2
whitelist_externals = make
Expand Down