Attempt to fix travis build

This commit is contained in:
Timothy Warren 2020-03-18 12:23:28 -04:00
parent 098798ca5a
commit 89ef2ae103
2 changed files with 9 additions and 6 deletions

View File

@ -9,8 +9,10 @@ arch:
language: php
services:
- mysql
- postgresql
- if: arch = amd64
- [ mysql, postgresql ]
- if: arch != amd64
- mysql
php:
- 7.2
@ -19,10 +21,11 @@ php:
- nightly
before_script:
- psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
- psql -c 'create database test;' -U postgres
- if: arch = amd64
- psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
- psql -c 'create database test;' -U postgres
- mysql -e 'create database IF NOT EXISTS test;'
- composer install
- composer install --ignore-platform-reqs
script:
- mkdir -p build/logs

View File

@ -20,7 +20,7 @@
"role": "Developer"
}],
"require": {
"php": "^7.2 || 8",
"php": "^7.2",
"ext-pdo": "*"
},
"require-dev": {