edit pytest coverage for travis (#6177)

This commit is contained in:
SimonMarkWarren 2017-04-09 12:57:19 +10:00 committed by François Chollet
parent 76c553e68f
commit 6b3459ae4d
2 changed files with 4 additions and 3 deletions

@ -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

@ -16,6 +16,7 @@ setup(name='Keras',
'visualize': ['pydot-ng'],
'tests': ['pytest',
'pytest-pep8',
'pytest-xdist'],
'pytest-xdist',
'pytest-cov'],
},
packages=find_packages())