`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)
24 lines
373 B
YAML
24 lines
373 B
YAML
sudo: false
|
|
language: php
|
|
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 update
|
|
- pyrus install pear/PHP_CodeSniffer
|
|
- phpenv rehash
|
|
|
|
script:
|
|
- npm run build
|
|
- npm run jshint
|
|
- npm run jscs
|
|
- phpcs --standard=ruleset.xml --extensions=php -n -s .
|