From 52e5214c2310993e91f57f9bf9c45ba2db1e2807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Sch=C3=B6ldstr=C3=B6m?= Date: Tue, 15 Nov 2016 18:40:21 -0500 Subject: [PATCH] Fix travis syntax --- .travis.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 447664079..de47f212c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -94,25 +94,25 @@ script: - > if [ $TEST_INSTALLED_EXTRAS = true ]; then - docker exec ${container_id} curl -s --header Host:adminer.${HOSTNAME} localhost - | grep -q 'Login - Adminer' - && (echo 'Adminer install pass' && exit 0) + docker exec ${container_id} curl -s --header Host:adminer.${HOSTNAME} localhost \ + | grep -q '<title>Login - Adminer' \ + && (echo 'Adminer install pass' && exit 0) \ || (echo 'Adminer install fail' && exit 1) fi - > if [ $TEST_INSTALLED_EXTRAS = true ]; then - docker exec ${container_id} curl -s --header Host:pimpmylog.${HOSTNAME} localhost - | grep -q '<title>Pimp my Log' - && (echo 'Pimp my Log install pass' && exit 0) + docker exec ${container_id} curl -s --header Host:pimpmylog.${HOSTNAME} localhost \ + | grep -q '<title>Pimp my Log' \ + && (echo 'Pimp my Log install pass' && exit 0) \ || (echo 'Pimp my Log install fail' && exit 1) fi - > if [ $TEST_INSTALLED_EXTRAS = true ]; then - docker exec ${container_id} curl -s localhost:8025 - | grep -q '<title>MailHog' - && (echo 'MailHog install pass' && exit 0) + docker exec ${container_id} curl -s localhost:8025 \ + | grep -q '<title>MailHog' \ + && (echo 'MailHog install pass' && exit 0) \ || (echo 'MailHog install fail' && exit 1) fi