-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
36 lines (30 loc) · 1.75 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: php
sudo: false
php:
- 7.1
- 7.2
env:
global:
- DB=pgsql
- secure: "r1N09NYwuby34+uKzzTnSmQLkd0pfAQ/x7j/I0+TuS2QiBntfk6mMFUsChEK37ztqOXSpWgyij63967ZypeE0WeuSZXY4hgKDRlGs51ktJsdW/Kv030bYJ1hpPpMXsaH+xFiovkRNCbNcjaxbmhc73xp6oFUExpZ6ggP2j6rGuY="
- secure: "fMmdDicrwFZPKGCWEu5AfGZFkrEj5FhMyawr3c0cqbvl7T2rHhywxQjpLmdR6CMPdGR+Fvdb0dTfNUIb55PxjuQoPtLGVmFo96bynuaqwXol8/sKfsg48fNdEHGdXbdXLJAjRK4bk+E6Hv4SQbV3oMSJXqogN/i6n3VVKuYR/fU="
- secure: "hEsZj6vNUfW3QCbxe3xYi7SFTK0zivoMbDuMQFbEIWfNGaK6xhkBFYqIWhOwzBlh0zL2yZ+7awg2KPIn7J78cmKBGQEaJeFLa4uMTQXwX3RMQO7TMEu6Z7RRnMwjSj55uqW6xRSN0S6DY54HVGrLu0tw6ptntkn+T8MNsvj2eDo="
- secure: "G6eTpsxTyIbH5yHJdr4zP828MKFVD6B+6L+5eiVJnP+uZwRSDjlVPWIt2v7znq2ryfLATbFFLWVH5xO8teMRSlQ8WwxYeRmHmaN7wg+Whd6CXBFO2xMPoUr9TDpeqlIY3/fR66EDpdYKLqIpLdCNXDTHFXUukWs3PPekBpZj41s="
- secure: "BH8B+fQhNISxNC2xfTzAuKuCfvPxGtwRWZ81sRPf4/986eLGRVZEalgD/rCd7ls1BIeEGyHMnJfytUo5rDq3Lf6tbwvrKXKdEe8y6CxsAzZkEtXgrs9Knpnp1BSIpwmuIgQyRITzzonIDUd2qUHZlNYZqHYuEd38RfAytVAPRh8="
- secure: "G0xs0gQLSGGniZKHfUwpdkA/zp1MXtUqnP5cFk4yT0kMNaCTladh8w8iP4WTHVxLs6waeZflDf6p9iqZ1kFi5PQQvtM0d6zImO1n1vet1X8aSqsWtDDYrrcsAVsx59qaxtZI2e4erTbtqpyFkIwr9nW4iDvq8nbNEW9SEjONF4c="
addons:
postgresql: "9.3"
services:
- mongodb
- rabbitmq
- memcached
before_script:
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE DATABASE xi_filelib_test;' -U postgres; psql xi_filelib_test -f docs/schema-postgresql.sql; fi"
- phpenv rehash
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --no-interaction
- printf "\n" | pecl install imagick
- phpenv config-add travis.php.ini
script: cd tests && ../vendor/bin/phpunit -v --configuration travis/$DB.travis.xml
notifications:
irc: "irc.freenode.net#xi-project"