This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +22
-21
lines changed Expand file tree Collapse file tree 3 files changed +22
-21
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
3
php :
4
- - 5.5
5
- - 5.6
6
4
- 7.0
7
5
- hhvm
8
6
@@ -11,32 +9,34 @@ sudo: false
11
9
cache :
12
10
directories :
13
11
- $HOME/.composer/cache/files
12
+ - .phpunit
14
13
15
14
env :
16
- - SYMFONY_VERSION=2.7.*
15
+ matrix : SYMFONY_VERSION=3.2.*
16
+ global : SYMFONY_PHPUNIT_DIR=.phpunit SYMFONY_PHPUNIT_REMOVE="symfony/yaml"
17
17
18
18
matrix :
19
19
include :
20
20
- php : 5.6
21
- env : SYMFONY_VERSION=2.7.* SYMFONY_DEPRECATIONS_HELPER=weak
22
- - php : 5.6
23
- env : SYMFONY_VERSION=2.8.*
24
- - php : 5.6
25
- env : SYMFONY_VERSION=3.0.*
26
- allow_failures :
27
- - env : SYMFONY_VERSION=2.8.*
28
- - env : SYMFONY_VERSION=3.0.*
21
+ env : SYMFONY_VERSION=2.8.* COMPOSER_FLAGS="--prefer-lowest" SYMFONY_DEPRECATIONS_HELPER=weak
22
+ - php : 7.1
23
+ env : DEPS=dev
24
+ - php : 7.1
25
+ env : SYMFONY_VERSION=3.1.*
29
26
fast_finish : true
30
27
31
28
before_install :
32
29
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
30
+ - phpenv config-rm xdebug.ini || true
33
31
- composer self-update
32
+ - if [ "$DEPS" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi
33
+ - if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION} --no-update; fi
34
34
35
- install : composer require symfony/symfony:${SYMFONY_VERSION} --prefer-dist
35
+ install : composer update --prefer-dist $COMPOSER_FLAGS
36
36
37
37
before_script : vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh
38
38
39
- script : phpunit --coverage-text
39
+ script : vendor/bin/simple-phpunit
40
40
41
41
notifications :
42
42
irc : " irc.freenode.org#symfony-cmf"
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ provide the context with which to resolve the documents.
27
27
28
28
## Requirements
29
29
30
- * Symfony 2.2.x
30
+ * Symfony 2.8+
31
31
* See also the ` require ` section of [ composer.json] ( composer.json )
32
32
33
33
## Documentation
Original file line number Diff line number Diff line change 10
10
}
11
11
],
12
12
"require" : {
13
- "php" : " ^5.5.9 |^7.0" ,
14
- "symfony/framework-bundle" : " ^2.7|3.* " ,
15
- "symfony/options-resolver" : " ^2.7|3.* " ,
16
- "symfony-cmf/resource" : " dev-include-puli as 1.0.0 "
13
+ "php" : " ^5.6 |^7.0" ,
14
+ "symfony/framework-bundle" : " ^2.8|^3.0 " ,
15
+ "symfony/options-resolver" : " ^2.8|^3.0 " ,
16
+ "symfony-cmf/resource" : " 1.0.*@dev "
17
17
},
18
18
"require-dev" : {
19
19
"symfony-cmf/testing" : " ^1.3|^2.0" ,
20
- "doctrine/phpcr-odm" : " ^1.2|^2.0"
20
+ "symfony/phpunit-bridge" : " ^3.2" ,
21
+ "doctrine/phpcr-odm" : " ^1.3"
21
22
},
22
- "minimum-stability" : " dev " ,
23
+ "minimum-stability" : " RC " ,
23
24
"prefer-stable" : true ,
24
25
"suggest" : {
25
- "doctrine/phpcr-odm" : " To enable support for the PHPCR ODM documents (^1.2 )" ,
26
+ "doctrine/phpcr-odm" : " To enable support for the PHPCR ODM documents (^1.3 )" ,
26
27
"doctrine/phpcr-bundle" : " To enable support for the PHPCR ODM documents"
27
28
},
28
29
"autoload" : {
You can’t perform that action at this time.
0 commit comments