-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
50 lines (40 loc) · 949 Bytes
/
.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
language: php
sudo: false
cache:
directories:
- .autoconf
- $HOME/.composer
branches:
only:
- master
addons:
postgresql: "9.6"
services:
- mysql
- postgresql
matrix:
include:
- php: 7.1
env: DATABASE="mysql" ORO_PLATFORM="2.6.39"
- php: 7.2
env: DATABASE="postgresql" ORO_PLATFORM="3.1.15"
- php: 7.2
env: DATABASE="postgresql" ORO_PLATFORM="4.1.0-rc"
before_install:
- phpenv config-rm xdebug.ini || echo "xdebug not available"
- composer
- bash tests/run.sh before_install
install:
- bash tests/run.sh install
before_script:
- bash tests/run.sh before_script
script:
- |
if [ -f tests/platform/app/console ]; then
cp tests/phpunit.xml.legacy tests/platform/phpunit.xml
else
cp tests/phpunit.xml.dist tests/platform/phpunit.xml
fi
- cd tests/platform
- cat phpunit.xml
- php bin/phpunit --testsuite=functional