File tree Expand file tree Collapse file tree 3 files changed +242
-170
lines changed Expand file tree Collapse file tree 3 files changed +242
-170
lines changed Original file line number Diff line number Diff line change @@ -12,22 +12,27 @@ matrix:
12
12
- php : 5.6
13
13
env :
14
14
- EXECUTE_DEPLOYMENT=true
15
- - php : 7
15
+ - php : 5.6
16
+ env : COMPOSER_FLAGS="--prefer-lowest"
17
+ - php : 7.0
18
+ env : SYMFONY_VERSION='3.0.*'
19
+ - php : 7.0
20
+ env : SYMFONY_VERSION='3.1.*'
16
21
17
22
before_install :
18
- - openssl aes-256-cbc -K $encrypted_d3e7229d64cc_key -iv $encrypted_d3e7229d64cc_iv
19
- -in .travis/secrets.tar.enc -out .travis/secrets.tar -d
20
- - composer self- update
23
+ - openssl aes-256-cbc -K $encrypted_d3e7229d64cc_key -iv $encrypted_d3e7229d64cc_iv -in .travis/secrets.tar.enc -out .travis/secrets.tar -d
24
+ - composer self-update
25
+ - if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no- update symfony/console=$SYMFONY_VERSION; fi
21
26
22
27
install :
23
- - travis_retry composer install --no-interaction
24
- - composer info -i
28
+ - travis_retry composer update $COMPOSER_FLAG --no-interaction
29
+ - composer info -i
25
30
26
31
script :
27
- - composer test-travis
32
+ - composer test-travis
28
33
29
34
after_success :
30
- - if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then ./bin/deploy.sh ; fi
31
- - bash <(curl -s https://codecov.io/bash)
32
- - wget https://scrutinizer-ci.com/ocular.phar
33
- - php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml
35
+ - if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then ./bin/deploy.sh ; fi
36
+ - bash <(curl -s https://codecov.io/bash)
37
+ - wget https://scrutinizer-ci.com/ocular.phar
38
+ - php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml
Original file line number Diff line number Diff line change 18
18
"knplabs/github-api" : " ^1.5" ,
19
19
"composer/composer" : " ^1.1" ,
20
20
"mnapoli/silly-php-di" : " ^1.0" ,
21
- "symfony/console" : " ^3.2@dev " ,
21
+ "symfony/console" : " ^3.0 " ,
22
22
"mnapoli/silly" : " ^1.4" ,
23
23
"tightenco/collect" : " ^5.2" ,
24
24
"symfony/filesystem" : " ^3.1" ,
27
27
"samsonasik/package-versions" : " ^1.0"
28
28
},
29
29
"require-dev" : {
30
- "phpunit/phpunit" : " ~5.0 " ,
31
- "squizlabs/php_codesniffer" : " ~2.0 "
30
+ "phpunit/phpunit" : " ~5.4 " ,
31
+ "squizlabs/php_codesniffer" : " ~2.6 "
32
32
},
33
33
"autoload" : {
34
34
"psr-4" : {
You can’t perform that action at this time.
0 commit comments