forked from artkonekt/user
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
112 lines (112 loc) · 3.71 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
language: php
cache:
directories:
- "$HOME/.composer/cache"
matrix:
include:
- php: 7.1
env: L5_VER=4 TEST_DB_ENGINE=sqlite
- php: 7.1
env: L5_VER=4 TEST_DB_ENGINE=mysql
- php: 7.1
env: L5_VER=4 TEST_DB_ENGINE=pgsql
- php: 7.1
env: L5_VER=5 TEST_DB_ENGINE=sqlite
- php: 7.1
env: L5_VER=5 TEST_DB_ENGINE=mysql
- php: 7.1
env: L5_VER=5 TEST_DB_ENGINE=pgsql
- php: 7.1
env: L5_VER=6 TEST_DB_ENGINE=sqlite
- php: 7.1
env: L5_VER=6 TEST_DB_ENGINE=mysql
- php: 7.1
env: L5_VER=6 TEST_DB_ENGINE=pgsql
- php: 7.1
env: L5_VER=7 TEST_DB_ENGINE=sqlite
- php: 7.1
env: L5_VER=7 TEST_DB_ENGINE=mysql
- php: 7.1
env: L5_VER=7 TEST_DB_ENGINE=pgsql
- php: 7.1
env: L5_VER=8 TEST_DB_ENGINE=sqlite
- php: 7.1
env: L5_VER=8 TEST_DB_ENGINE=mysql
- php: 7.1
env: L5_VER=8 TEST_DB_ENGINE=pgsql
- php: 7.2
env: L5_VER=4 TEST_DB_ENGINE=sqlite
- php: 7.2
env: L5_VER=4 TEST_DB_ENGINE=mysql
- php: 7.2
env: L5_VER=4 TEST_DB_ENGINE=pgsql
- php: 7.2
env: L5_VER=5 TEST_DB_ENGINE=sqlite
- php: 7.2
env: L5_VER=5 TEST_DB_ENGINE=mysql
- php: 7.2
env: L5_VER=5 TEST_DB_ENGINE=pgsql
- php: 7.2
env: L5_VER=6 TEST_DB_ENGINE=sqlite
- php: 7.2
env: L5_VER=6 TEST_DB_ENGINE=mysql
- php: 7.2
env: L5_VER=6 TEST_DB_ENGINE=pgsql
- php: 7.2
env: L5_VER=7 TEST_DB_ENGINE=sqlite
- php: 7.2
env: L5_VER=7 TEST_DB_ENGINE=mysql
- php: 7.2
env: L5_VER=7 TEST_DB_ENGINE=pgsql
- php: 7.2
env: L5_VER=8 TEST_DB_ENGINE=sqlite
- php: 7.2
env: L5_VER=8 TEST_DB_ENGINE=mysql
- php: 7.2
env: L5_VER=8 TEST_DB_ENGINE=pgsql
- php: 7.3
env: L5_VER=4 TEST_DB_ENGINE=sqlite
- php: 7.3
env: L5_VER=4 TEST_DB_ENGINE=mysql
- php: 7.3
env: L5_VER=4 TEST_DB_ENGINE=pgsql
- php: 7.3
env: L5_VER=5 TEST_DB_ENGINE=sqlite
- php: 7.3
env: L5_VER=5 TEST_DB_ENGINE=mysql
- php: 7.3
env: L5_VER=5 TEST_DB_ENGINE=pgsql
- php: 7.3
env: L5_VER=6 TEST_DB_ENGINE=sqlite
- php: 7.3
env: L5_VER=6 TEST_DB_ENGINE=mysql
- php: 7.3
env: L5_VER=6 TEST_DB_ENGINE=pgsql
- php: 7.3
env: L5_VER=7 TEST_DB_ENGINE=sqlite
- php: 7.3
env: L5_VER=7 TEST_DB_ENGINE=mysql
- php: 7.3
env: L5_VER=7 TEST_DB_ENGINE=pgsql
- php: 7.3
env: L5_VER=8 TEST_DB_ENGINE=sqlite
- php: 7.3
env: L5_VER=8 TEST_DB_ENGINE=mysql
- php: 7.3
env: L5_VER=8 TEST_DB_ENGINE=pgsql
script:
- vendor/bin/phpunit --testdox
before_install:
- composer require "illuminate/support:5.${L5_VER}.*" --no-update -v
- composer require "illuminate/console:5.${L5_VER}.*" --no-update -v
- composer require "orchestra/testbench:3.${L5_VER}.*" --no-update -v
- sh -c "[ ! -z $TEST_DB_ENGINE ] && [ 'mysql' = $TEST_DB_ENGINE ] && mysql -e 'DROP DATABASE IF EXISTS user_test;CREATE DATABASE user_test;'" || true
- sh -c "[ ! -z $TEST_DB_ENGINE ] && [ 'pgsql' = $TEST_DB_ENGINE ] && psql -c 'create database user_test;' -U postgres" || true
install: composer install --no-interaction
services:
- mysql
- postgresql
notifications:
email: false
slack:
secure: "vfl8o2SFRmVpi8PBqP5wrjGZhKvYJsUf9ThgcBp+IGv1FnZ/mXwU3i5XZPhxdVpB+dWuHDX2aaLYlkT+UqHaaxwYgwSvjOsDPOL1/vAMxlDLS1DKEKfocDeSfaxyWFquZfUZAhy1GxFti3CS8WAjzxLDaoOfa44t27z/5o617gO0Fa3CbCjj4Lgo4/BkCdT1pqjsUcAmZclTrrvFnBqnt8o/tTCcLjrfuqt2gXc3gjvl9oi9weLtjiSrK6a83adrR8mv0/keQn3Qe7UW6upD8VEbyhp9G5HqV6HrUxXgt3lUBfN32D2z0JxyfrPRkjo6MiOTGH9cwxogGxWrZ09RxmEjldFeO/6fpu01d6MhQl7XaKJeyJew+Q8AfSojSCC/88fLaXYsh1LBo0nW6+B5h2jo7wEFX2DPeKvxvdeFZke1p2YuCxxL6MSb19WoXA+2FH2b6hEyD1MLzAzHYITwfMrNY5es3dWsxw1mFKNdc67CZnkZPqTp14taPBCAKAtHSEZQGNAZSWduSjb4efk4fqTO5kZtO05iirpavXHHDyi/pLKDMxfpNodMPALkM5EB5rixL7fio4FnX6zjkyiP0qmb1Kur4AEzqzpKLTDFG8PaV4+QZPaUpGO3bpPrb+Zms8eIMJLi5xjMuK33YWtcAYnThmNtyog80trCrsXtoZ4="