-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (28 loc) · 579 Bytes
/
.travis.yml
File metadata and controls
34 lines (28 loc) · 579 Bytes
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
language: php
dist: trusty
php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly
matrix:
allow_failures:
- php: nightly
fast_finish: true
cache:
directories:
- $HOME/.composer/cache
install:
- travis_retry composer update --no-interaction --no-progress --no-suggest --prefer-dist
script:
- composer test
after_script:
- |
if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.3" ]]
then
travis_retry wget --no-verbose https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover build/clover.xml
fi