diff --git a/.travis.yml b/.travis.yml index f412ddd0..5dcc0769 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,3 +30,4 @@ after_failure: - $ISLANDORA_DIR/tests/scripts/travis_after_failure.sh notifications: irc: "irc.freenode.org#islandora" +sudo: required diff --git a/tests/scripts/travis_setup.sh b/tests/scripts/travis_setup.sh index db50a52d..bdb56ebc 100755 --- a/tests/scripts/travis_setup.sh +++ b/tests/scripts/travis_setup.sh @@ -73,4 +73,12 @@ drush en --user=1 --yes islandora drush cc all # The shebang in this file is a bogeyman that is haunting the web test cases. rm /home/travis/.phpenv/rbenv.d/exec/hhvm-switcher.bash -sleep 20 + +# wait for Fedora to come up +fedoraIsUp=1 +until [ $fedoraIsUp -eq "0" ]; do + echo "Waiting for Fedora to boot..." + sleep 10 + (curl http://localhost:8080/fedora) + fedoraIsUp=$? +done