From 49bb2e4dbe8a3f9919dcaaafe1e45d4dd244fa1a Mon Sep 17 00:00:00 2001 From: farizrahman4u Date: Wed, 25 Jan 2017 12:00:26 +0530 Subject: [PATCH] fix travis --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0f26b07..d6e297b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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