.travis.yml
language: php
php:
# - '5.6'
# - '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
services:
- mysql
- postgresql
before_install:
- composer install
- cd tests
before_script:
- psql -c "DROP DATABASE IF EXISTS patabaseTest;" -U postgres
- psql -c "DROP DATABASE IF EXISTS patabase" -U postgres
- mysql -e "DROP DATABASE IF EXISTS patabaseTest;" -u root
- mysql -e "DROP DATABASE IF EXISTS patabase;" -u root
script:
- ../vendor/bin/phpunit --debug --configuration phpunit.xml --coverage-text --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)