mirror of
https://github.com/wassname/keras-contrib.git
synced 2026-07-09 00:20:28 +08:00
fix travis
This commit is contained in:
+2
-4
@@ -60,12 +60,10 @@ script:
|
||||
# set up keras backend
|
||||
- sed -i -e 's/"backend":[[:space:]]*"[^"]*/"backend":\ "'$KERAS_BACKEND'/g' ~/.keras/keras.json;
|
||||
- echo -e "Running tests with the following config:\n$(cat ~/.keras/keras.json)"
|
||||
- if [[ "$TEST_MODE" == "INTEGRATION_TESTS" ]]; then
|
||||
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/integration_tests;
|
||||
elif [[ "$TEST_MODE" == "PEP8" ]]; then
|
||||
- if [[ "$TEST_MODE" == "PEP8" ]]; then
|
||||
PYTHONPATH=$PWD:$PYTHONPATH py.test --pep8 -m pep8 -n0;
|
||||
else
|
||||
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/ --ignore=tests/integration_tests;
|
||||
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/;
|
||||
fi
|
||||
after_success:
|
||||
- coveralls
|
||||
|
||||
Reference in New Issue
Block a user