mirror of
https://github.com/cytopia/devilbox.git
synced 2025-01-31 08:25:23 +00:00
Clean up travis file
This commit is contained in:
parent
5a3b90dadd
commit
92dcc0cec6
@ -73,10 +73,13 @@ script:
|
|||||||
# Start
|
# Start
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
- sleep 30
|
- sleep 30
|
||||||
|
|
||||||
|
# Show info
|
||||||
|
- docker-compose logs
|
||||||
- docker-compose ps
|
- docker-compose ps
|
||||||
|
|
||||||
|
# Check running containers
|
||||||
- if [ "$( docker-compose ps | grep -c 'Up' )" != "4" ]; then false; fi
|
- if [ "$( docker-compose ps | grep -c 'Up' )" != "4" ]; then false; fi
|
||||||
|
|
||||||
- UP=$( docker-compose ps | grep -c 'Up' )
|
# Crawl page
|
||||||
- if [ "${UP}" != "4" ]; then false; fi
|
|
||||||
- docker-compose logs
|
|
||||||
- wget http://localhost
|
- wget http://localhost
|
Loading…
x
Reference in New Issue
Block a user