forked from imageinabox/wrike-php-guzzle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (25 loc) · 853 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
language: php
php:
- '7.1'
- '7.2'
before_script:
- composer self-update
- composer require codeclimate/php-test-reporter --dev
- composer require sensiolabs/security-checker --dev
- composer require php-coveralls/php-coveralls --dev
- composer install
script:
- mkdir -p build
- vendor/bin/phpunit --coverage-clover build/clover.xml
- vendor/bin/security-checker security:check --end-point=http://security.sensiolabs.org/check_lock
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/clover.xml
- vendor/bin/test-reporter --coverage-report=build/clover.xml
after_success:
- travis_retry php vendor/bin/php-coveralls
addons:
code_climate:
repo_token: f93d8700fc7d2aaa8ddc92cd38162ae2037605b8295f016d5c30dfdb02a2bb5c
notifications:
email: false