File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,13 @@ cache:
11
11
matrix :
12
12
include :
13
13
- php : 7.1
14
+ - php : 7.1
15
+ env :
16
+ - deps=low
17
+ - php : nightly
14
18
- php : nightly
19
+ env :
20
+ - deps=low
15
21
- php : hhvm
16
22
- php : hhvm-nightly
17
23
# Allow failures until Travis build includes HHVM 3.20.2 which fix the issue with composer (see http://hhvm.com/blog/2017/06/07/hhvm-3-20.html)
@@ -26,7 +32,8 @@ before_install:
26
32
27
33
install :
28
34
- travis_retry composer require --dev --no-update squizlabs/php_codesniffer
29
- - travis_retry composer install --prefer-dist --no-interaction
35
+ - if [ $deps != low ]; then travis_retry composer update --no-interaction --prefer-dist; fi;
36
+ - if [ $deps == low ]; then travis_retry composer update --no-interaction --prefer-dist --prefer-lowest; fi;
30
37
31
38
script :
32
39
- vendor/bin/phpcs
You can’t perform that action at this time.
0 commit comments