forked from imanghafoori1/laravel-widgetize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (32 loc) · 992 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
sudo: false
matrix:
include:
- php: 7.2
env: LARAVEL_VERSION=7.*
- php: 8.0
env: LARAVEL_VERSION=8.*
- php: 7.3
env: LARAVEL_VERSION=8.*
- php: 7.1
env: LARAVEL_VERSION=5.5.*
- php: 7.2
env: LARAVEL_VERSION=5.6.*
- php: 7.2
env: LARAVEL_VERSION=5.7.*
- php: 7.1
env: LARAVEL_VERSION=5.8.*
- php: 7.2
env: LARAVEL_VERSION=6.*
before_install:
- if [[ $TRAVIS_PHP_VERSION =~ ^hhvm ]]; then echo 'hhvm.jit = false' >> /etc/hhvm/php.ini ; fi
- composer self-update --stable -n
- composer require "laravel/framework:${LARAVEL_VERSION}" --no-update -n
install:
- travis_retry composer install --no-suggest --prefer-dist -n -o
script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml;
after_script:
- wget https://scrutinizer-ci.com/ocular.phar;
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml;
- bash <(curl -s https://codecov.io/bash)