Skip to content

Commit 5805ad0

Browse files
committed
Wait for apache to start
1 parent a2e10e0 commit 5805ad0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ install:
44
- docker build -t moodle-php-apache .
55
script:
66
- "docker run --name test0 -d -p 8000:80 -v $PWD/tests/fixtures:/var/www/html moodle-php-apache"
7+
- sleep 5
78
- docker exec test0 php /var/www/html/test.php
89
- curl --fail http://127.0.0.1:8000/test.php
910
after_failure:

0 commit comments

Comments
 (0)