Run all tests only once, not for all databases.

This commit is contained in:
ADmad 2013-08-04 20:21:12 +05:30
parent cd44c2afae
commit e5be99844d

View file

@ -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