File tree Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 12
12
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
13
13
sudo : false
14
14
15
+ # # Cache composer
16
+ cache :
17
+ directories :
18
+ - $HOME/.composer/cache
19
+
15
20
env :
16
- - SYMFONY_VERSION="2.1" GUZZLE_VERSION="3.1"
17
- - SYMFONY_VERSION="2.*" GUZZLE_VERSION="3.1"
18
- - SYMFONY_VERSION="2.1" GUZZLE_VERSION="3.*"
19
- - SYMFONY_VERSION="2.*" GUZZLE_VERSION="3.*"
21
+ global :
22
+ - setup=basic
23
+
24
+ matrix :
25
+ include :
26
+ - php : 5.3
27
+ env : setup=lowest
28
+ - php : 5.5
29
+ env : setup=lowest
20
30
21
- before_script :
22
- - composer require symfony/http-foundation:${SYMFONY_VERSION} --no-update
23
- - composer require guzzle/guzzle:${GUZZLE_VERSION} --no-update
24
- - composer install -n --dev --prefer-source
31
+ install :
32
+ - if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
33
+ - if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
25
34
26
35
script : vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
Original file line number Diff line number Diff line change 32
32
"symfony/http-foundation" : " ~2.1|~3.0"
33
33
},
34
34
"require-dev" : {
35
- "omnipay/tests" : " ~2.0"
35
+ "omnipay/tests" : " ~2.0" ,
36
+ "squizlabs/php_codesniffer" : " ~1.5"
36
37
},
37
38
"extra" : {
38
39
"branch-alias" : {
You can’t perform that action at this time.
0 commit comments