File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 13
13
global :
14
14
- COMPOSER_DISABLE_XDEBUG_WARN=1
15
15
16
+ matrix :
17
+ fast_finish : true
18
+ include :
19
+ - php : ' 5.3'
20
+ env : COMPOSER_FLAGS='--prefer-lowest'
21
+ allow_failures :
22
+ - php : nightly
23
+
24
+
16
25
cache :
17
26
directories :
18
27
- " $HOME/.composer/cache"
19
28
20
29
before_install :
21
30
# From https://github.com/travis-ci/travis-ci/issues/5780#issuecomment-196308406
22
31
- |
32
+ XDEBUG_INI="/home/travis/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini"
33
+ if [ ! -f "$XDEBUG_INI" ]; then
34
+ return
35
+ fi
36
+
23
37
function composer()
24
38
{
25
- mv /home/travis/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ~/xdebug.ini
39
+ mv $XDEBUG_INI ~/xdebug.ini
26
40
COMPOSER="$(which composer)"
27
41
$COMPOSER "$@"
28
42
STATUS=$?
29
- mv ~/xdebug.ini /home/travis/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
43
+ mv ~/xdebug.ini $XDEBUG_INI
44
+
30
45
return $STATUS
31
46
}
32
47
You can’t perform that action at this time.
0 commit comments