Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Run all tests only once, not for all databases.
  • Loading branch information
ADmad committed Aug 4, 2013
1 parent cd44c2a commit e5be998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -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.