forked from mirror/_s
Travis CI : dont install dependencies unless they are used
This commit is contained in:
parent
a00645e7fc
commit
d8eac45712
|
@ -41,11 +41,11 @@ before_install:
|
||||||
# Speed up build time by disabling Xdebug.
|
# Speed up build time by disabling Xdebug.
|
||||||
- phpenv config-rm xdebug.ini || echo 'No xdebug config.'
|
- phpenv config-rm xdebug.ini || echo 'No xdebug config.'
|
||||||
# Download and install the latest long-term support release of node.
|
# Download and install the latest long-term support release of node.
|
||||||
- nvm install --lts
|
- if [[ "$SNIFF" == 1 ]]; then nvm install --lts; fi
|
||||||
# Install Composer dependencies.
|
# Install Composer dependencies.
|
||||||
- composer install
|
- composer install
|
||||||
# Install NPM dependencies.
|
# Install NPM dependencies.
|
||||||
- npm install
|
- if [[ "$SNIFF" == 1 ]]; then npm install; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Validate the composer.json file.
|
# Validate the composer.json file.
|
||||||
|
|
Reference in New Issue