File tree Expand file tree Collapse file tree 1 file changed +24
-9
lines changed Expand file tree Collapse file tree 1 file changed +24
-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.*"
20
-
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
21
+ global :
22
+ - setup=basic
23
+
24
+ matrix :
25
+ include :
26
+ - php : 5.3
27
+ env : setup=lowest
28
+ - php : 5.3
29
+ env : setup=stable
30
+ - php : 5.5
31
+ env : setup=lowest
32
+ - php : 5.5
33
+ env : setup=stable
34
+
35
+ install :
36
+ - if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
37
+ - if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
38
+ - if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
39
+
25
40
26
41
script : vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
You can’t perform that action at this time.
0 commit comments