mirror of
https://github.com/flarum/framework.git
synced 2025-03-03 02:31:54 +08:00
Configure Travis CI to run PSR-2 code style checks
Also configures Gitter integration.
This commit is contained in:
parent
e4f3ae8b2f
commit
6a46f3c1b1
@ -1,12 +1,27 @@
|
|||||||
language: php
|
language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.3
|
|
||||||
- 5.4
|
- 5.4
|
||||||
- 5.5
|
- 5.5
|
||||||
|
- 5.6
|
||||||
|
- hhvm
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
- php: hhvm
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- curl -s http://getcomposer.org/installer | php
|
- curl -s http://getcomposer.org/installer | php
|
||||||
- php composer.phar install --dev
|
- php composer.phar install
|
||||||
|
|
||||||
script: phpunit
|
script:
|
||||||
|
- vendor/bin/phpcs --standard=PSR2 -np src
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
webhooks:
|
||||||
|
urls:
|
||||||
|
- https://webhooks.gitter.im/e/7b9e9827a03b44a16588
|
||||||
|
on_success: always
|
||||||
|
on_failure: always
|
||||||
|
on_start: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user