forked from thedevdojo/voyager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (33 loc) · 751 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
40
41
42
43
language: php
sudo: true
php:
- 7.2
- 7.3
- 7.4snapshot
env:
matrix:
- LARAVEL_VERSION=5.5.*
- LARAVEL_VERSION=5.8.*
- LARAVEL_VERSION=6.*
matrix:
fast_finish: true
allow_failures:
- php: 7.4snapshot
cache:
directories:
- $HOME/.composer/cache
- node_modules
services:
- sqlite
before_script:
- echo > $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/etc/conf.d/xdebug.ini
- pecl install pcov
- travis_retry composer self-update
- composer require "illuminate/support:${LARAVEL_VERSION}"
- composer show laravel/framework
- npm install
- npm run dev
script:
- php -d pcov.enabled=1 vendor/bin/phpunit --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)