Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tidy up and simplify travis.yml file.
  • Loading branch information
markstory committed Jun 29, 2014
1 parent 9172124 commit 48c7998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -123,9 +123,9 @@ before_script:
}
}
}" > app/Config/database.php

script:
- 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 AllDbRelated --stderr; fi"
- sh -c "if [ '$PHPCS' != '1' ]; then ./lib/Cake/Console/cake test core AllTests --stderr; fi"

This comment has been minimized.

Copy link
@ADmad

ADmad Jul 3, 2014

Member

Booo.. It now unnecessarily runs all tests for all dbs.

This comment has been minimized.

Copy link
@markstory

markstory Jul 4, 2014

Author Member

I see that as a good thing. It only slows down successful builds. The fail early option makes the build bail early.

- sh -c "if [ '$PHPCS' = '1' ]; then phpcs -p --extensions=php --standard=CakePHP ./lib/Cake; fi;"

notifications:
email: false

0 comments on commit 48c7998

Please sign in to comment.