Fix node-sass and npm cache on travis
`cache: npm` isn't even a valid config anyway
https://stackoverflow.com/questions/15393821/npm-err-cb-never-called/15483897#15483897
https://github.com/sass/node-sass/issues/638
e227568521/lib/build.sh (L183)
This commit is contained in:
@@ -1,14 +1,18 @@
|
|||||||
sudo: false
|
sudo: false
|
||||||
language: php
|
language: php
|
||||||
cache: npm
|
cache:
|
||||||
|
directories:
|
||||||
|
- node_modules
|
||||||
php:
|
php:
|
||||||
- '5.6'
|
- '5.6'
|
||||||
- '5.5'
|
- '5.5'
|
||||||
- '5.4'
|
- '5.4'
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
- npm cache clean
|
||||||
|
- npm prune
|
||||||
- npm install -g bower gulp jscs
|
- npm install -g bower gulp jscs
|
||||||
- npm install
|
- npm update
|
||||||
- pyrus install pear/PHP_CodeSniffer
|
- pyrus install pear/PHP_CodeSniffer
|
||||||
- phpenv rehash
|
- phpenv rehash
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user