Skip to content

Commit

Permalink
Merge b06744c into 7c0ecd6
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 19, 2019
2 parents 7c0ecd6 + b06744c commit 5f42b68
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ cache:
- $HOME/.composer/cache

php:
- 7.2
- 7.4snapshot

env:
global:
- DEFAULT=1
- CHECKS=0
matrix:
- DB=mysql DB_DSN='mysql://root@127.0.0.1/cakephp_test?init[]=SET sql_mode = "STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"'
- DB=pgsql DB_DSN='postgres://postgres@127.0.0.1/cakephp_test'
Expand All @@ -25,6 +29,10 @@ env:
matrix:
fast_finish: true

include:
- php: 7.3
env: CHECKS=1 DEFAULT=0

before_install:
- echo cakephp version && tail -1 VERSION.txt

Expand All @@ -50,9 +58,15 @@ script:
if [[ $TRAVIS_PHP_VERSION == '7.4snapshot' ]]; then
# This is necessary to skip memory usage tests
CODECOVERAGE=1 vendor/bin/phpunit --verbose --coverage-clover=clover.xml
else
elif [[ $DEFAULT == '1' ]]; then
vendor/bin/phpunit
fi
- |
if [[ $CHECKS == 1 ]]; then
composer stan-setup
composer stan
composer cs-check
fi
after_success:
- |
Expand Down

0 comments on commit 5f42b68

Please sign in to comment.