Query/.travis.yml
2023-01-13 13:14:28 -05:00

44 lines
745 B
YAML

dist: bionic
os: linux
arch:
- amd64
- arm64
- ppc64le
language: php
services:
- mysql
- postgresql
php:
- nightly
# - '8.0'
- '8.1'
- '8.2'
# - '7.4'
# - '8.0'
before_script:
- 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 --ignore-platform-reqs
script:
- mkdir -p build/logs
- cd build
- ../vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml
- cd ../
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
jobs:
allow_failures:
- arch: ppc64le
- php: nightly