forked from APY/APYDataGridBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (41 loc) · 1.23 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
38
39
40
41
42
43
44
45
46
47
48
49
language: php
php:
- 5.6
- 7.0
matrix:
include:
- php: 5.6
env: |
SYMFONY_VERSION=2.7.*
- php: 5.6
env: |
SYMFONY_VERSION=2.8.*
- php: 7.1
env: |
SYMFONY_VERSION=^4.0
before_install:
- |
if [ "${SYMFONY_VERSION}" != "" ]; then
packages="form dependency-injection config http-foundation http-kernel options-resolver security serializer"
devpackages="framework-bundle browser-kit templating expression-language"
for package in $packages
do
composer require --no-update symfony/"$package"=${SYMFONY_VERSION};
done
for package in $devpackages
do
composer require --dev --no-update symfony/"$package"=${SYMFONY_VERSION};
done
fi;
before_script:
- echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
install:
- travis_retry composer self-update
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer update ${COMPOSER_FLAGS} --no-interaction
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --no-interaction
script:
- mkdir -p build/logs
- php vendor/bin/phpunit -c phpunit.xml.dist
after_success:
- php vendor/bin/coveralls