Skip to content

Commit 3bd4b0a

Browse files
committed
Update travis config to match cakephp
1 parent e5a4d85 commit 3bd4b0a

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.travis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ language: php
22

33
php:
44
- 7.2
5-
- 7.3
65
- 7.4
76

87
dist: xenial
@@ -13,8 +12,8 @@ services:
1312

1413
env:
1514
matrix:
16-
- DB=mysql db_dsn='mysql://root@127.0.0.1/cakephp_test'
17-
- DB=pgsql db_dsn='postgres://postgres@127.0.0.1/cakephp_test'
15+
- DB=mysql db_dsn='mysql://root@127.0.0.1/cakephp'
16+
- DB=pgsql db_dsn='postgres://postgres@127.0.0.1/cakephp'
1817
- DB=sqlite
1918
global:
2019
- DEFAULT=1
@@ -26,15 +25,12 @@ matrix:
2625
- php: 7.3
2726
env: CHECKS=1 DEFAULT=0
2827

29-
allow_failures:
30-
- php: 7.4
31-
3228
install:
3329
- composer install --prefer-dist --no-interaction
3430

3531
before_script:
36-
- if [[ $DB == 'mysql' ]]; then mysql -u root -e 'CREATE DATABASE cakephp_test;'; fi
37-
- if [[ $DB == 'pgsql' ]]; then psql -c 'CREATE DATABASE cakephp_test;' -U postgres; fi
32+
- if [[ $DB == 'mysql' ]]; then mysql -u root -e 'CREATE DATABASE cakephp;'; fi
33+
- if [[ $DB == 'pgsql' ]]; then psql -c 'CREATE DATABASE cakephp;' -U postgres; fi
3834
- if [[ $CHECKS == 1 ]]; then composer require --dev psalm/phar:^3.6; fi
3935

4036
script:

0 commit comments

Comments
 (0)