CI now fails for test coverage below 80%.

Esse commit está contido em:
Francois Chollet
2017-06-29 12:14:04 -07:00
commit 23269507fd
+1 -1
Ver Arquivo
@@ -86,5 +86,5 @@ script:
elif [[ "$TEST_MODE" == "DOC" ]]; then elif [[ "$TEST_MODE" == "DOC" ]]; then
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/test_documentation.py; PYTHONPATH=$PWD:$PYTHONPATH py.test tests/test_documentation.py;
else else
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/ --ignore=tests/integration_tests --ignore=tests/test_documentation.py --cov=keras tests/ --cov-fail-under 78 --cov-report term-missing; PYTHONPATH=$PWD:$PYTHONPATH py.test tests/ --ignore=tests/integration_tests --ignore=tests/test_documentation.py --cov=keras tests/ --cov-fail-under 80 --cov-report term-missing;
fi fi