forked from dustin10/VichUploaderBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 1.18 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
37
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
env:
- SYMFONY_VERSION="~2.0.0" DOCTRINE_VERSION="~2.2.0"
- SYMFONY_VERSION="~2.1.0" DOCTRINE_VERSION=">=2.2.3,<2.5-dev"
- SYMFONY_VERSION="~2.2.0" DOCTRINE_VERSION="~2.2,>=2.2.3"
- SYMFONY_VERSION="~2.3.0" DOCTRINE_VERSION=">=2.2.3,<2.5-dev"
- SYMFONY_VERSION="~2.4.0" DOCTRINE_VERSION=">=2.2.3,<2.5-dev"
- SYMFONY_VERSION="~2.5.0" DOCTRINE_VERSION=">=2.2.3,<2.5-dev"
- SYMFONY_VERSION="dev-master symfony/event-dispatcher:dev-master symfony/http-kernel:@dev symfony/debug:@dev" DOCTRINE_VERSION="~2.2,>=2.2.3"
before_script:
- composer selfupdate
- wget http://pecl.php.net/get/mongo-1.4.5.tgz
- tar -xzf mongo-1.4.5.tgz
- sh -c "cd mongo-1.4.5 && phpize && ./configure && sudo make install"
- echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer require --no-update symfony/framework-bundle:${SYMFONY_VERSION}
- composer require --dev --no-update "doctrine/orm":"${DOCTRINE_VERSION}"
- composer install
script: vendor/bin/phpunit
notifications:
email:
matrix:
allow_failures:
- php: hhvm