-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
39 lines (31 loc) · 843 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
39
language: php
sudo: false
notifications:
email:
on_success: never
on_failure: always
env:
- LARAVEL_VERSION=5.8.*
matrix:
include:
- php: 7.1
env: LARAVEL_VERSION=5.8.*
- php: 7.2
env: LARAVEL_VERSION=5.8.*
- php: 7.2
env: LARAVEL_VERSION=6.0.*
- php: 7.3
env: LARAVEL_VERSION=5.8.*
- php: 7.3
env: LARAVEL_VERSION=6.0.*
before_install:
- travis_retry composer self-update --stable -n
- composer validate --no-check-all --strict
- composer require "laravel/framework:${LARAVEL_VERSION}" --no-update -n
install:
- travis_retry composer install --no-suggest -n -o
- travis_retry composer require --dev satooshi/php-coveralls
script:
- composer run phpunit -- --coverage-clover ./tests/logs/clover.xml
after_script:
- php vendor/bin/php-coveralls -v