Skip to content
Permalink
Browse files

Tidy up and simplify travis.yml file.

  • Loading branch information...
markstory committed Jun 28, 2014
1 parent 9172124 commit 48c799812e9fc7eedc0ea10fc3f18a5ecc7791e1
Showing with 2 additions and 2 deletions.
  1. +2 −2 .travis.yml
@@ -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.

@ADmad

ADmad Jul 3, 2014

Member

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

This comment has been minimized.

@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.
You can’t perform that action at this time.