edit pytest coverage for travis (#6177)
This commit is contained in:
parent
76c553e68f
commit
6b3459ae4d
@ -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
setup.py
3
setup.py
@ -16,6 +16,7 @@ setup(name='Keras',
|
||||
'visualize': ['pydot-ng'],
|
||||
'tests': ['pytest',
|
||||
'pytest-pep8',
|
||||
'pytest-xdist'],
|
||||
'pytest-xdist',
|
||||
'pytest-cov'],
|
||||
},
|
||||
packages=find_packages())
|
||||
|
Loading…
Reference in New Issue
Block a user