1
1
language : php
2
2
3
3
php :
4
- - 5.6
5
- - 7.0
6
- # 7.1 is tested using composer install
4
+ - 7.1
7
5
8
6
sudo : false
9
7
@@ -18,24 +16,25 @@ matrix:
18
16
env : TRANSPORT=jackrabbit COMPOSER_INSTALL=1
19
17
- php : 7.1
20
18
env : TRANSPORT=doctrine_dbal COMPOSER_INSTALL=1
21
- - php : hhvm
22
- dist : trusty
23
19
24
20
env :
25
21
global :
22
+ - SYMFONY_PHPUNIT_DIR=.phpunit SYMFONY_PHPUNIT_REMOVE="symfony/yaml" SYMFONY_PHPUNIT_VERSION=5.7
26
23
- SYMFONY_DEPRECATIONS_HELPER=weak
27
24
matrix :
28
25
- TRANSPORT=jackrabbit
29
26
- TRANSPORT=doctrine_dbal
30
27
31
28
before_install :
32
- - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
33
- # hack to avoid segmentation fault because of https://bugs.php.net/bug.php?id=74843
29
+ - if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; composer config prefer-stable true; fi;
34
30
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then echo "zend.enable_gc = 0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
35
31
- phpenv config-rm xdebug.ini || true
36
32
- composer self-update
37
33
38
- install : if [ "$COMPOSER_INSTALL" != "1" ]; then composer update --no-scripts --prefer-dist; else composer install --no-scripts --prefer-dist; fi
34
+ install :
35
+ - phpenv config-add travis.php.ini
36
+ - php -ini | grep memory_limit
37
+ - if [ "$COMPOSER_INSTALL" != "1" ]; then composer update --no-scripts --prefer-dist; else composer install --no-scripts --prefer-dist; fi
39
38
40
39
before_script :
41
40
- cp app/config/phpcr_${TRANSPORT}.yml.dist app/config/phpcr.yml
@@ -44,7 +43,7 @@ before_script:
44
43
- bin/console doctrine:phpcr:workspace:create sandbox_test -e=test
45
44
- bin/console doctrine:phpcr:repository:init -e=test
46
45
47
- script : vendor/bin/simple-phpunit
46
+ script : php vendor/bin/simple-phpunit --debug
48
47
49
48
notifications :
50
49
irc : " irc.freenode.org#symfony-cmf"
0 commit comments