-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
38 lines (32 loc) · 1.52 KB
/
.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
32
33
34
35
36
37
38
sudo: required
dist: xenial
group: edge
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
- hhvm
matrix:
fast_finish: true
allow_failures:
- php: nightly
- php: hhvm
before_script:
- if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then composer config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH; fi
- composer self-update
- composer install --no-interaction
- if [[ $TRAVIS_PHP_VERSION =~ ^hhvm ]]; then echo 'hhvm.php7.all = 1' >> /etc/hhvm/php.ini; fi
script:
- bin/phpcs
- bin/kahlan --config=kahlan-config.travis.php --clover=clover.xml
after_success:
- "if [ $(phpenv version-name) = '7.0' ]; then wget https://scrutinizer-ci.com/ocular.phar; fi"
- "if [ $(phpenv version-name) = '7.0' ]; then php ocular.phar code-coverage:upload --format=php-clover 'clover.xml'; fi"
env:
global:
- secure: iqNia6xfybP9p2fwc2jWJTtPJym1xpAPbc8ceBn77a4qhbb9IW+8c0MTmdA57p385rn7ZqFts9e110Jszbh+pgDRriThlS4THLZJloVodlsEktFUbApaKHLQwd4f4EUE1dJ653C22cX19FDfT7eTCLjaVl5M6CsDuuTK17jbyyhk54Wt1Tzo+DD2VjPGuCtsbNd8FslR6qQJMnvnfYj/rBdoolYeNkh4obkrRQ/l35c/DyOiggW9OZE7NNtQGT0goEfH9YtNI8CfBjIS2GjsRGtUk+71lRFpXyPzKJKSI/C4GInzRovkuPAJWxhP7hh18jPVuYWzVsLkQBBMxpi070ce/FXPLHndyPPud7usio31bAKsC8odl2hd9H/veX/buIzQ24MYGbeUbB4+loDE1g3O8hVSQgVblaSPD+QIdDynyVXLlWka42clK5X+TKDgSUfMaKP/de1SfRSFY2JTGLXVoKPAnPMhD0uadE3ZAQxuehtQoPMUJ3AInSJQoDiziEIkwu4/VCkwKH6bgW5DsMhRqR98U9gjcNTaPex3TlVL7e7ZunqA1xpVw72/nRGfpAbI/EH/1M2oQbJrEdyqBwL8YrDc3VlRO5e/Rv/0exefD3mbG22TbWIYKnS9rk4s13GXsglnSI78nrmeDFP3gOR5km92qoK43VHJXnrqY7s=