From e5be99844ddaec2e3edcc66d8147f1cc630cf171 Mon Sep 17 00:00:00 2001 From: ADmad Date: Sun, 4 Aug 2013 20:21:12 +0530 Subject: [PATCH] Run all tests only once, not for all databases. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 48b3383e2..b02fa4595 100644 --- a/.travis.yml +++ b/.travis.yml @@ -111,7 +111,7 @@ before_script: }" > app/Config/database.php script: - - sh -c "if [ '$PHPCS' != '1' ]; then ./lib/Cake/Console/cake test core AllTests --stderr; else phpcs -p --extensions=php --standard=CakePHP ./lib/Cake; fi" + - 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 AllDatabase --stderr; fi" notifications: email: false