forked from zibios/wrike-php-jmsserializer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
28 lines (28 loc) · 882 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
language: php
php:
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- hhvm
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: 6f0790fe5e70632ce8de229cbaa0d262f29fa586d00387bdf72bed8391dea744
notifications:
email: false