From c4a29c3a518eee8f404af8e2c03d10495487c548 Mon Sep 17 00:00:00 2001 From: afabiani Date: Mon, 10 Jun 2019 10:37:32 +0200 Subject: [PATCH] - Fix travis --- .travis.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 66762cdbd4c..982178a9962 100644 --- a/.travis.yml +++ b/.travis.yml @@ -157,7 +157,7 @@ matrix: MONITORING_ENABLED: 'False' SESSION_EXPIRED_CONTROL_ENABLED: 'True' CELERY_ALWAYS_EAGER: 'True' - - name: "Selenium Integration Tests" + - name: "Selenium Integration Tests Core" python: 3.5 env: - TEST_RUN_SELENIUM: 'True' @@ -249,17 +249,7 @@ script: elif [ "$TEST_RUN_SELENIUM" = "True" ]; then docker-compose -f docker-compose.yml -f docker-compose.override.localhost.yml up --build -d; URL="http://localhost"; - for i in {1..20}; do - curl -s --fail "$URL" >/dev/null && - curl -s --fail "$URL/geoserver" >/dev/null && - break; - sleep 30; - done; - if [ $? != 0 ]; then - exit $?; - fi; - sleep 180; - GEONODE_USER=admin GEONODE_PASS=admin GEONODE_URL="$URL" geonode-selenium/test.sh; + GEONODE_USER=admin GEONODE_PASS=admin GEONODE_URL="$URL" geonode-selenium/test-core.sh; else paver run_tests --coverage --local false; fi