Checkout Config
build:
environment:
php: '5.5.25'
tests:
before:
- "curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -"
- "sudo apt-get install -y nodejs"
- "sudo npm install -g less" # doesnt work without sudo
- "sudo npm install -g gulp-cli" # doesnt work without sudo
- "composer install"
override:
-
command: 'cd tests && ../vendor/bin/phpunit --coverage-clover=clover.xml .'
coverage:
file: tests/clover.xml
format: clover
Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
concatenation: true
build: true