streams/vendor/sabre/dav/.travis.yml

37 lines
745 B
YAML
Raw Normal View History

language: php
php:
- 5.5
2014-04-12 17:13:37 +00:00
- 5.6
2017-03-16 00:42:06 +00:00
- 7.0
- 7.1
env:
matrix:
- LOWEST_DEPS="" TEST_DEPS=""
- LOWEST_DEPS="--prefer-lowest" TEST_DEPS="tests/Sabre/"
services:
- mysql
2016-05-28 15:46:24 +00:00
- postgresql
sudo: false
before_script:
2016-05-28 15:46:24 +00:00
- mysql -e 'create database sabredav_test'
- psql -c "create database sabredav_test" -U postgres
- psql -c "create user sabredav with PASSWORD 'sabredav';GRANT ALL PRIVILEGES ON DATABASE sabredav_test TO sabredav" -U postgres
# - composer self-update
2016-05-28 15:46:24 +00:00
- composer update --prefer-dist $LOWEST_DEPS
# addons:
# postgresql: "9.5"
script:
2016-05-28 15:46:24 +00:00
- ./bin/phpunit --configuration tests/phpunit.xml.dist $TEST_DEPS
2017-03-16 00:42:06 +00:00
- ./bin/sabre-cs-fixer fix . --dry-run --diff
2016-05-28 15:46:24 +00:00
cache:
directories:
- $HOME/.composer/cache