1
0
mirror of https://github.com/danog/postgres.git synced 2024-11-26 20:15:02 +01:00
postgres/.travis.yml

50 lines
912 B
YAML
Raw Normal View History

2016-09-14 16:27:39 +02:00
sudo: false
language: php
php:
- 7.0
- 7.1
2017-11-23 03:35:11 +01:00
- 7.2
2019-03-25 18:58:20 +01:00
- 7.3
- 7.4snapshot
2016-09-14 16:27:39 +02:00
- nightly
matrix:
allow_failures:
2019-03-25 18:58:20 +01:00
- php: 7.4snapshot
2016-09-14 16:27:39 +02:00
- php: nightly
fast_finish: true
2018-07-01 19:33:12 +02:00
cache:
directories:
- $HOME/.composer/cache
- $HOME/.php-cs-fixer
- $HOME/.local
env:
- AMP_DEBUG=true
2016-09-14 16:27:39 +02:00
services:
- postgresql
before_install:
- phpenv config-rm xdebug.ini || echo "No xdebug config."
2016-09-14 16:27:39 +02:00
install:
- travis/install-raphf.sh
- travis/install-pq.sh
- composer update -n --prefer-dist
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.2/coveralls.phar
- chmod +x coveralls.phar
2016-09-14 16:27:39 +02:00
before_script:
- psql -c 'CREATE DATABASE test;' -U postgres
script:
2017-05-16 06:26:37 +02:00
- phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
- PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix
2016-09-14 16:27:39 +02:00
after_script:
- ./coveralls.phar