Skip to content

Commit

Permalink
Remove 'sleep 60' from travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
simnalamburt committed Feb 2, 2019
1 parent 8399794 commit e1fdaea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,7 @@ jobs:
script:
- docker build --tag femiwiki/mediawiki .
- docker stack deploy -c docker-compose.yml mediawiki
# We don't have a health check yet, so wait a moment for starting process is end...
- sleep 60
- docker service logs mediawiki_fastcgi
# Check if container is shoutdown
# Check if status of container is shutdown
- test -z "$(docker service ps -qf 'desired-state=Shutdown' mediawiki_fastcgi)"
# Access localhost until success
- |
Expand All @@ -97,4 +94,5 @@ jobs:
travis_terminate 1;
fi
done; printf '\n'
- docker service logs mediawiki_fastcgi
- curl -Lf localhost | head

0 comments on commit e1fdaea

Please sign in to comment.