-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
30 lines (24 loc) · 859 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
language: php
notifications:
email:
on_success: never
on_failure: always
matrix:
include:
- php: 7.4
env: LARAVEL_VERSION='^8.40' TESTBENCH='6.*'
- php: 8.0
env: LARAVEL_VERSION='^8.40' TESTBENCH='6.*'
- php: 8.0.2
env: LARAVEL_VERSION='^9.00' TESTBENCH='7.*'
before_install:
- travis_retry composer self-update --stable -n
- composer validate --no-check-all --strict
- composer require "laravel/framework:${LARAVEL_VERSION}" "orchestra/testbench:${TESTBENCH}" "orchestra/testbench-browser-kit:${TESTBENCH}" --no-update -n
install:
- travis_retry composer install --no-suggest --prefer-dist -n -o
- travis_retry composer require --dev php-coveralls/php-coveralls
script:
- composer run phpunit -- --coverage-clover ./tests/logs/clover.xml
after_script:
- php vendor/bin/php-coveralls -v