mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-25 06:17:34 +00:00
Enhancement: Cache dependencies installed with composer on Travis (#215)
This commit is contained in:
parent
e318921076
commit
8daed2484d
@ -19,6 +19,10 @@ matrix:
|
|||||||
- _OSX=10.11
|
- _OSX=10.11
|
||||||
- _PHP: php71
|
- _PHP: php71
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.composer/cache
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then /usr/bin/env bash bin/prepare_osx_env.sh ; fi
|
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then /usr/bin/env bash bin/prepare_osx_env.sh ; fi
|
||||||
- if [[ $DISABLE_XDEBUG == "true" ]]; then phpenv config-rm xdebug.ini; fi
|
- if [[ $DISABLE_XDEBUG == "true" ]]; then phpenv config-rm xdebug.ini; fi
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
"symplify/easy-coding-standard": "^3.1"
|
"symplify/easy-coding-standard": "^3.1"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
"preferred-install": "dist",
|
||||||
"sort-packages": true
|
"sort-packages": true
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
Loading…
Reference in New Issue
Block a user