-
Notifications
You must be signed in to change notification settings - Fork 189
/
.travis.yml
38 lines (30 loc) · 887 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
32
33
34
35
36
37
38
language: php
php:
- 7.2
- 7.3
- 7.4
- 8.0
- nightly
cache:
directories:
- $HOME/.composer/cache
env:
- TESTBENCH_VERSION=3.8.* STABILITY=stable
- TESTBENCH_VERSION=4.* STABILITY=stable
- TESTBENCH_VERSION=5.* STABILITY=stable
- TESTBENCH_VERSION=6.* STABILITY=stable
- TESTBENCH_VERSION=6.* STABILITY=stable
matrix:
allow_failures:
- php: nightly
fast_finish: true
before_script:
- travis_retry composer self-update
- composer config minimum-stability ${STABILITY}
- travis_retry composer require "orchestra/testbench:${TESTBENCH_VERSION}" --no-update
- travis_retry composer update --no-interaction --prefer-source
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover