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:
Austin Pray
2015-01-29 01:22:09 -06:00
parent 2ef60f316f
commit 56f850eb23

View File

@@ -1,14 +1,18 @@
sudo: false
language: php
cache: npm
cache:
directories:
- node_modules
php:
- '5.6'
- '5.5'
- '5.4'
before_install:
- npm cache clean
- npm prune
- npm install -g bower gulp jscs
- npm install
- npm update
- pyrus install pear/PHP_CodeSniffer
- phpenv rehash