forked from TiX-By/laravel-migrations-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (38 loc) · 784 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
44
45
46
47
os: linux
dist: bionic
language: php
cache:
directories:
- $HOME/.composer/cache/files
services:
- mysql
php:
- 7.4
- 7.3
- 7.2
- 7.1
env:
global:
- DB_CONNECTION='mysql'
- DB_DATABASE='test'
- DB_USERNAME='travis'
- DB_PASSWORD=''
matrix:
- Laravel=7.x
- Laravel=6.x
- Laravel=5.8.x
- Laravel=5.7.x
- Laravel=5.6.x
matrix:
exclude:
# Unsupported combinations
- { env: Laravel=7.x, php: 7.1 }
- { env: Laravel=6.x, php: 7.1 }
before_install:
- mysql -e 'CREATE DATABASE test;'
install:
- travis_retry composer require "laravel/framework:${Laravel}" --no-interaction
script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_success:
- travis_retry php vendor/bin/php-coveralls -v