Skip to content

Commit e5be998

Browse files
committed
Run all tests only once, not for all databases.
1 parent cd44c2a commit e5be998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ before_script:
111111
}" > app/Config/database.php
112112

113113
script:
114-
- sh -c "if [ '$PHPCS' != '1' ]; then ./lib/Cake/Console/cake test core AllTests --stderr; else phpcs -p --extensions=php --standard=CakePHP ./lib/Cake; fi"
114+
- 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"
115115

116116
notifications:
117117
email: false

0 commit comments

Comments
 (0)