Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 44e8c4f

Browse files
committed
add test
1 parent 46c1780 commit 44e8c4f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ env:
66
MAKEFILE: example.drupal.make.yml
77
HOSTNAME: drupalvm.dev
88
MACHINE_NAME: drupalvm
9+
IP: 192.168.88.88
910
matrix:
1011
- distribution: centos
1112
version: 6
@@ -94,6 +95,12 @@ script:
9495
&& (echo 'MailHog install pass' && exit 0)
9596
|| (echo 'MailHog install fail' && exit 1)
9697
98+
- >
99+
sudo docker exec "$(cat ${container_id})" curl -s ${IP}
100+
| grep -q "<li>${HOSTNAME} ${IP}</li>"
101+
&& (echo 'Dashboard install pass' && exit 0)
102+
|| (echo 'Dashboard install fail' && exit 1)
103+
97104
- >
98105
sudo docker exec "$(cat ${container_id})" drush @${MACHINE_NAME}.${HOSTNAME} status
99106
| grep -q 'Drupal bootstrap.*Successful'

0 commit comments

Comments
 (0)