aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/.travis.yml
diff options
context:
space:
mode:
authorWave <wave72@users.noreply.github.com>2016-07-22 10:55:02 +0200
committerGitHub <noreply@github.com>2016-07-22 10:55:02 +0200
commit744ad84714fe0f7a3d90250a4ff02dc4327b9061 (patch)
tree595fb74ec9ea0bc7130d18bd7993d719a222d343 /vendor/sabre/dav/.travis.yml
parentc38c79d71c8ef70ef649f83e322f1984b75ee2dd (diff)
parent7d897a3f03bd57ed556433eb84a41963ba44e02e (diff)
downloadvolse-hubzilla-744ad84714fe0f7a3d90250a4ff02dc4327b9061.tar.gz
volse-hubzilla-744ad84714fe0f7a3d90250a4ff02dc4327b9061.tar.bz2
volse-hubzilla-744ad84714fe0f7a3d90250a4ff02dc4327b9061.zip
Merge pull request #6 from redmatrix/dev
Dev
Diffstat (limited to 'vendor/sabre/dav/.travis.yml')
-rw-r--r--vendor/sabre/dav/.travis.yml39
1 files changed, 23 insertions, 16 deletions
diff --git a/vendor/sabre/dav/.travis.yml b/vendor/sabre/dav/.travis.yml
index 9c98702f0..a9189c981 100644
--- a/vendor/sabre/dav/.travis.yml
+++ b/vendor/sabre/dav/.travis.yml
@@ -1,28 +1,35 @@
language: php
php:
- - 5.3.3
- - 5.3
- - 5.4
- 5.5
- 5.6
- - hhvm
+ - 7
-matrix:
- allow_failures:
- - php: 5.6
- - php: hhvm
+env:
+ matrix:
+ - LOWEST_DEPS="" TEST_DEPS=""
+ - LOWEST_DEPS="--prefer-lowest" TEST_DEPS="tests/Sabre/"
services:
- mysql
+ - postgresql
+
+sudo: false
before_script:
- - mysql -e 'create database sabredav'
- - composer self-update
- - composer install --prefer-source
-# - echo "zend.enable_gc=0" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
+ - 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-dist $LOWEST_DEPS
+
+# addons:
+# postgresql: "9.5"
script:
- - phpunit --configuration tests/phpunit.xml
- - cp tests/composer.vobject3.json composer.json
- - composer update --no-dev
- - phpunit --configuration tests/phpunit.xml
+ - ./bin/phpunit --configuration tests/phpunit.xml.dist $TEST_DEPS
+ - ./bin/sabre-cs-fixer fix lib/ --dry-run --diff
+
+cache:
+ directories:
+ - $HOME/.composer/cache