forked from neomerx/json-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 872 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
php:
- 7.1
- 7.2
- 7.3
- 7.4
matrix:
include:
- php: 7.1
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
- php: 7.3
script:
- composer test-cs
- composer test-md
- composer test-cs-fixer
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-dist
script:
- vendor/bin/phpunit
- cd sample/ && composer update && php sample.php > /dev/null
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/56fbdc2d0c44773dc740
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: true # default: false