forked from pragma-framework/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
115 lines (112 loc) · 2.7 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
language: php
dist: trusty
os: linux
cache:
directories:
- vendor
- $HOME/.composer/cache
before_script:
if [[ "$DB" == "mysql" ]]; then mysql -e 'DROP DATABASE IF EXISTS `pragma-core`; CREATE DATABASE `pragma-core`;'; fi;
if [[ "$DB" == "postgresql" ]]; then psql -c 'DROP DATABASE IF EXISTS "pragma_core";' -U postgres; psql -c 'CREATE DATABASE "pragma_core";' -U postgres; psql pragma_core -c 'CREATE EXTENSION IF NOT EXISTS "uuid-ossp"' -U postgres; fi;
install:
- phpenv config-rm xdebug.ini || echo "xdebug not available"
- composer install --no-interaction --quiet --optimize-autoloader
script:
- vendor/bin/phpunit --bootstrap ./tests/bootstrap.config.$DB.php tests/
- vendor/bin/phpunit --bootstrap ./tests/bootstrap.config.$DB.uidmysql.php tests/
- vendor/bin/phpunit --bootstrap ./tests/bootstrap.config.$DB.uidphp.php tests/
jobs:
fast_finish: true
allow_failures:
- php: nightly
include:
- env: DB=sqlite
php: '7.0'
- env: DB=sqlite
php: '7.1'
- env: DB=sqlite
php: '7.2'
- env: DB=sqlite
php: '7.3'
- env: DB=sqlite
php: '7.4'
- env: DB=sqlite
php: 'nightly'
- env: DB=postgresql
services: postgresql
php: '7.0'
- env: DB=postgresql
services: postgresql
php: '7.1'
- env: DB=postgresql
services: postgresql
php: '7.2'
- env: DB=postgresql
services: postgresql
php: '7.3'
- env: DB=postgresql
services: postgresql
php: '7.4'
- env: DB=postgresql
services: postgresql
php: 'nightly'
- env: DB=mysql
services: mysql
addons:
mariadb: '10.2'
php: '7.0'
- env: DB=mysql
services: mysql
addons:
mariadb: '10.2'
php: '7.1'
- env: DB=mysql
services: mysql
addons:
mariadb: '10.2'
php: '7.2'
- env: DB=mysql
services: mysql
addons:
mariadb: '10.2'
php: '7.3'
- env: DB=mysql
services: mysql
addons:
mariadb: '10.2'
php: '7.4'
- env: DB=mysql
services: mysql
addons:
mariadb: '10.2'
php: 'nightly'
- env: DB=mysql
services: mysql
addons:
mariadb: '10.5'
php: '7.0'
- env: DB=mysql
services: mysql
addons:
mariadb: '10.5'
php: '7.1'
- env: DB=mysql
services: mysql
addons:
mariadb: '10.5'
php: '7.2'
- env: DB=mysql
services: mysql
addons:
mariadb: '10.5'
php: '7.3'
- env: DB=mysql
services: mysql
addons:
mariadb: '10.5'
php: '7.4'
- env: DB=mysql
services: mysql
addons:
mariadb: '10.5'
php: 'nightly'