Permalink
Browse files

Run all tests only once, not for all databases.

  • Loading branch information...
1 parent cd44c2a commit e5be99844ddaec2e3edcc66d8147f1cc630cf171 @ADmad ADmad committed Aug 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.yml
View
@@ -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

0 comments on commit e5be998

Please sign in to comment.