aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/dav/.travis.yml')
-rw-r--r--vendor/sabre/dav/.travis.yml24
1 files changed, 13 insertions, 11 deletions
diff --git a/vendor/sabre/dav/.travis.yml b/vendor/sabre/dav/.travis.yml
index 48c88b169..a9189c981 100644
--- a/vendor/sabre/dav/.travis.yml
+++ b/vendor/sabre/dav/.travis.yml
@@ -3,12 +3,6 @@ php:
- 5.5
- 5.6
- 7
- - hhvm
-
-matrix:
- fast_finish: true
- allow_failures:
- - php: hhvm
env:
matrix:
@@ -17,17 +11,25 @@ env:
services:
- mysql
+ - postgresql
sudo: false
-cache: vendor
-
before_script:
- - mysql -e 'create database sabredav'
+ - 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
+ - phpenv config-rm xdebug.ini; true
# - composer self-update
- - composer update --prefer-source $LOWEST_DEPS
+ - composer update --prefer-dist $LOWEST_DEPS
+
+# addons:
+# postgresql: "9.5"
script:
- - ./bin/phpunit --configuration tests/phpunit.xml $TEST_DEPS
+ - ./bin/phpunit --configuration tests/phpunit.xml.dist $TEST_DEPS
- ./bin/sabre-cs-fixer fix lib/ --dry-run --diff
+cache:
+ directories:
+ - $HOME/.composer/cache