From 48c799812e9fc7eedc0ea10fc3f18a5ecc7791e1 Mon Sep 17 00:00:00 2001 From: mark_story Date: Fri, 27 Jun 2014 23:14:09 -0400 Subject: [PATCH] Tidy up and simplify travis.yml file. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a4ab23da8..c2aa33eb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,9 +123,9 @@ before_script: } } }" > app/Config/database.php - script: - - sh -c "if [ '$PHPCS' = '1' ]; then phpcs -p --extensions=php --standard=CakePHP ./lib/Cake; elif [ '$DB' = 'mysql' ]; then ./lib/Cake/Console/cake test core AllTests --stderr; else ./lib/Cake/Console/cake test core AllDbRelated --stderr; fi" + - sh -c "if [ '$PHPCS' != '1' ]; then ./lib/Cake/Console/cake test core AllTests --stderr; fi" + - sh -c "if [ '$PHPCS' = '1' ]; then phpcs -p --extensions=php --standard=CakePHP ./lib/Cake; fi;" notifications: email: false