-
Notifications
You must be signed in to change notification settings - Fork 281
/
.travis.yml
57 lines (50 loc) · 1.03 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
language: php
services:
- mysql
- postgresql
matrix:
include:
- php: 5.3
dist: precise
- php: 5.4
dist: trusty
- php: 5.5
dist: trusty
- php: 5.6
dist: trusty
- php: 7.0
dist: trusty
- php: 7.1
dist: trusty
- php: 7.2
dist: trusty
- php: 7.3
dist: trusty
- php: 7.4
dist: trusty
- php: 8.0
dist: xenial
- php: 8.1.0
dist: bionic
- php: 8.2.0
dist: focal
- php: 8.3.0
dist: bionic
env:
global:
- PGUSER=postgres
- PGPORT=5432
- PGHOST=localhost
- XDEBUG_MODE=coverage
before_install:
- if [[ "$TRAVIS_DIST" == "focal" ]]; then sudo apt-get install libonig5 ;fi
- if [[ "$TRAVIS_DIST" == "focal" ]]; then sudo service postgresql restart ;fi
before_script:
- touch /tmp/oodb.db
- mysql -e 'create database oodb;'
- psql template1 -c 'CREATE EXTENSION "uuid-ossp";' -U postgres
- psql -c 'create database oodb;' -U postgres
- php replica2.php onlyphp
- cp rb.php testing/cli/testcontainer/rb.php
- cd testing/cli
script: php runtests.php