Add PHPCS to Travis

This commit is contained in:
Ben Word
2015-01-24 00:25:59 -06:00
parent 78fd50212d
commit 33fe490cb0

View File

@@ -2,12 +2,17 @@ sudo: false
language: php
cache: npm
php:
- 5.6
- 5.5
- 5.4
- '5.6'
- '5.5'
- '5.4'
before_install:
- npm install -g bower
- npm install
- pyrus install pear/PHP_CodeSniffer
- phpenv rehash
script:
- npm run build
- npm run jshint
- phpcs --standard=ruleset.xml --extensions=php -n -s .