Skip to content

Commit

Permalink
- Fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani authored and frafra committed Jun 14, 2019
1 parent ced835e commit c4a29c3
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .travis.yml
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c4a29c3

Please sign in to comment.