forked from andersondanilo/CnabPHP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·31 lines (25 loc) · 906 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: php
script: phpunit --verbose --coverage-text
php:
- 5.4
- 5.5
- 5.6
- 7.0
before_script:
- "composer install -v"
after_script:
- "phpunit --testdox"
after_script:
- "phpunit --testdox"
- "phpunit --coverage-clover build/logs/clover.xml"
- "bin/test-reporter --stdout > codeclimate.json; curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
addons:
code_climate:
repo_token: 62106545f2b8d419b073155b0af4bd0b9b3233707007fd8950f453c103ad834d
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/4fbdd69a8426f4b5ae9a
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