Skip to content

Commit

Permalink
edit pytest coverage for travis (keras-team#6177)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMWarren authored and fchollet committed Apr 9, 2017
1 parent 76c553e commit 6b3459a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ script:
elif [[ "$TEST_MODE" == "PEP8" ]]; then
PYTHONPATH=$PWD:$PYTHONPATH py.test --pep8 -m pep8 -n0;
else
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/ --ignore=tests/integration_tests;
fi
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/ --ignore=tests/integration_tests --cov=keras tests/ --cov-fail-under 78 --cov-report term-missing;
fi
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
'visualize': ['pydot-ng'],
'tests': ['pytest',
'pytest-pep8',
'pytest-xdist'],
'pytest-xdist',
'pytest-cov'],
},
packages=find_packages())

0 comments on commit 6b3459a

Please sign in to comment.