Attempt to fix travis build
This commit is contained in:
parent
098798ca5a
commit
89ef2ae103
@ -9,8 +9,10 @@ arch:
|
|||||||
language: php
|
language: php
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
- if: arch = amd64
|
||||||
|
- [ mysql, postgresql ]
|
||||||
|
- if: arch != amd64
|
||||||
- mysql
|
- mysql
|
||||||
- postgresql
|
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 7.2
|
- 7.2
|
||||||
@ -19,10 +21,11 @@ php:
|
|||||||
- nightly
|
- nightly
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
- if: arch = amd64
|
||||||
- psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
|
- psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
|
||||||
- psql -c 'create database test;' -U postgres
|
- psql -c 'create database test;' -U postgres
|
||||||
- mysql -e 'create database IF NOT EXISTS test;'
|
- mysql -e 'create database IF NOT EXISTS test;'
|
||||||
- composer install
|
- composer install --ignore-platform-reqs
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- mkdir -p build/logs
|
- mkdir -p build/logs
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
"role": "Developer"
|
"role": "Developer"
|
||||||
}],
|
}],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.2 || 8",
|
"php": "^7.2",
|
||||||
"ext-pdo": "*"
|
"ext-pdo": "*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
Loading…
Reference in New Issue
Block a user