Go back to working build

This commit is contained in:
Timothy Warren 2020-03-18 13:47:53 -04:00
parent 89ef2ae103
commit 39569ccb96
1 changed files with 7 additions and 14 deletions

View File

@ -1,18 +1,13 @@
dist: xenial dist: xenial
os: linux os: linux
arch: arch: amd64
- amd64
- arm64
- ppc64le
language: php language: php
services: services:
- if: arch = amd64 - mysql
- [ mysql, postgresql ] - postgresql
- if: arch != amd64
- mysql
php: php:
- 7.2 - 7.2
@ -21,9 +16,8 @@ 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 --ignore-platform-reqs - composer install --ignore-platform-reqs
@ -34,10 +28,9 @@ script:
- cd ../ - cd ../
after_script: after_script:
- wget https://scrutinizer-ci.com/ocular.phar - wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
jobs: jobs:
allow_failures: allow_failures:
- php: nightly - php: nightly
- arch: [arm64, ppc64le]