forked from franzose/ClosureTable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
129 lines (119 loc) · 4.21 KB
/
.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
language: php
services:
- mysql
- postgresql
cache:
directories:
- .composer
php:
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
env:
- LARAVEL_VERSION=5.4.*
- LARAVEL_VERSION=5.4.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- LARAVEL_VERSION=5.5.*
- LARAVEL_VERSION=5.5.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- LARAVEL_VERSION=5.6.*
- LARAVEL_VERSION=5.6.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- LARAVEL_VERSION=5.7.*
- LARAVEL_VERSION=5.7.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- LARAVEL_VERSION=5.8.*
- LARAVEL_VERSION=5.8.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- LARAVEL_VERSION=6.*
- LARAVEL_VERSION=6.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- LARAVEL_VERSION=7.*
- LARAVEL_VERSION=7.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- LARAVEL_VERSION=8.*
- LARAVEL_VERSION=8.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
matrix:
exclude:
- php: 7.0
env: LARAVEL_VERSION=5.6.*
- php: 7.4
env: LARAVEL_VERSION=5.6.*
- php: 7.0
env: LARAVEL_VERSION=5.6.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.4
env: LARAVEL_VERSION=5.6.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.0
env: LARAVEL_VERSION=5.7.*
- php: 7.4
env: LARAVEL_VERSION=5.7.*
- php: 7.0
env: LARAVEL_VERSION=5.7.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.4
env: LARAVEL_VERSION=5.7.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.0
env: LARAVEL_VERSION=5.8.*
- php: 7.1
env: LARAVEL_VERSION=5.8.*
- php: 7.0
env: LARAVEL_VERSION=5.8.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.1
env: LARAVEL_VERSION=5.8.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.0
env: LARAVEL_VERSION=6.*
- php: 7.1
env: LARAVEL_VERSION=6.*
- php: 7.0
env: LARAVEL_VERSION=6.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.1
env: LARAVEL_VERSION=6.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.0
env: LARAVEL_VERSION=7.*
- php: 7.1
env: LARAVEL_VERSION=7.*
- php: 7.0
env: LARAVEL_VERSION=7.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.1
env: LARAVEL_VERSION=7.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.1
env: LARAVEL_VERSION=5.4.*
- php: 7.2
env: LARAVEL_VERSION=5.4.*
- php: 7.3
env: LARAVEL_VERSION=5.4.*
- php: 7.4
env: LARAVEL_VERSION=5.4.*
- php: 7.1
env: LARAVEL_VERSION=5.4.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.2
env: LARAVEL_VERSION=5.4.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.3
env: LARAVEL_VERSION=5.4.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.4
env: LARAVEL_VERSION=5.4.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.0
env: LARAVEL_VERSION=8.*
- php: 7.1
env: LARAVEL_VERSION=8.*
- php: 7.2
env: LARAVEL_VERSION=8.*
- php: 7.0
env: LARAVEL_VERSION=8.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.1
env: LARAVEL_VERSION=8.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
- php: 7.2
env: LARAVEL_VERSION=8.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis
# ensure that the specific Laravel version is required
before_install:
- export COMPOSER_CACHE_DIR=`pwd`/.composer
- composer require "laravel/framework:${LARAVEL_VERSION}" --no-update
install: composer update --no-interaction --prefer-dist
before_script:
- mysql -e 'create database closuretabletest;'
- php ./tests/script-change-testcase-return-type.php
script:
- vendor/bin/phpunit
branches:
only:
- master
- 6.x
- improve-travis
- postgres-testing
# version tag, e.g. v1.0.0
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
- /^\d+\.\d+?$/