php-censor/.travis.yml

39 lines
599 B
YAML

language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
php:
- 5.6
- 7.0
- 7.1
- 7.2
matrix:
fast_finish: true
install:
- composer selfupdate
- composer install
before_script:
- mysql -e "create database IF NOT EXISTS b8_test;" -uroot
- psql -c 'create database b8_test;' -U postgres
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email:
recipients:
- poisoncorpsee@gmail.com
on_success: always
on_failure: always