Skip to content

Commit

Permalink
Merge e3d9391 into 7c0ecd6
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 19, 2019
2 parents 7c0ecd6 + e3d9391 commit 7458a3a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,20 @@ 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'
- DB=sqlite DB_DSN='sqlite:///:memory:'
include:
- php: 7.3
env: CHECKS=1 DEFAULT=0

matrix:
fast_finish: true
Expand Down Expand Up @@ -50,9 +57,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 phpstan-setup
composer phpstan
composer cs-check
fi
after_success:
- |
Expand Down

0 comments on commit 7458a3a

Please sign in to comment.