Merge pull request #1294 from austinpray/fixtravis

Fix node-sass and npm cache on travis
This commit is contained in:
Austin Pray
2015-01-30 20:26:17 -06:00

View File

@@ -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