commit e2cfa0f3dd5d1209c86563974980201c5b331128 parent da6a629280110b8d1fe8e6d78e0b4325fb3c13e7 Author: Marcel <MTRNord@users.noreply.github.com> Date: Tue, 13 Oct 2015 20:50:12 +0200 Create .travis.yml Diffstat:
| A | .travis.yml | | | 31 | +++++++++++++++++++++++++++++++ |
1 file changed, 31 insertions(+), 0 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -0,0 +1,31 @@ +#Test php5.6 and php7.0 +language: php +php: + - 5.6 + - 7.0 + - hhvm +#Allow errors in php7 +matrix: + allow_failures: + - php: 7.0 + - php: hhvm +before_script: + - wget https://phar.phpunit.de/phpunit.phar + - chmod +x phpunit.phar + - composer require codeclimate/php-test-reporter --dev +#RunTests +script: php phpunit.phar --configuration phpunit.xml --verbose +#after scripts +after_script: + - CODECLIMATE_REPO_TOKEN= php ./vendor/bin/test-reporter +#Webhook for Gitter +notifications: + webhooks: + urls: + - https://webhooks.gitter.im/e/ + on_success: change # options: [always|never|change] default: always + on_failure: always # options: [always|never|change] default: always + on_start: never # options: [always|never|change] default: always +addons: + code_climate: + repo_token: