-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
63 lines (50 loc) · 1.14 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
language: php
sudo: true
dist: bionic
php:
- '8.1.0'
before_install:
- composer self-update
- composer validate
install:
- composer update --prefer-dist --no-interaction
script:
- php --version
- ./vendor/bin/phpunit --configuration tests/travis/$DB.travis.xml --coverage-clover clover.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
jobs:
include:
- stage: Test
php: 8.1.0
env: DB=mysql
services:
- mysql
- php: 7.3
env: DB=mysql
services:
- mysql
- php: 8.1.0
env: DB=pgsql POSTGRESQL_VERSION=12
services:
- postgresql
- php: 7.3
env: DB=pgsql POSTGRESQL_VERSION=12
services:
- postgresql
- php: 8.1.0
env: DB=sqlsrv
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-mssql-sqlsrv.sh
- bash ./tests/travis/install-mssql.sh
- php: 7.3
env: DB=sqlsrv
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-mssql-sqlsrv.sh
- bash ./tests/travis/install-mssql.sh