Skip to content

Commit

Permalink
Wait for apache to start
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Feb 26, 2019
1 parent 8994b2e commit ddfa1a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ install:
- docker build -t moodle-php-apache .
script:
- "docker run --name test0 -d -p 8000:80 -v $PWD/tests/fixtures:/var/www/html moodle-php-apache"
- sleep 5
- docker exec test0 php /var/www/html/test.php
- curl --fail http://127.0.0.1:8000/test.php
after_failure:
Expand Down

0 comments on commit ddfa1a0

Please sign in to comment.