From 6a46f3c1b1963c760aac89f32cecf0a3e791917d Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Mon, 11 May 2015 10:43:15 +0200 Subject: [PATCH] Configure Travis CI to run PSR-2 code style checks Also configures Gitter integration. --- framework/core/.travis.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/framework/core/.travis.yml b/framework/core/.travis.yml index 4a7ff2b8b..7e1314ab1 100644 --- a/framework/core/.travis.yml +++ b/framework/core/.travis.yml @@ -1,12 +1,27 @@ language: php php: - - 5.3 - 5.4 - 5.5 + - 5.6 + - hhvm + +matrix: + allow_failures: + - php: hhvm + fast_finish: true before_script: - curl -s http://getcomposer.org/installer | php - - php composer.phar install --dev + - php composer.phar install -script: phpunit \ No newline at end of file +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