forked from owncloud-archive/security
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (54 loc) · 1.04 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
language: php
sudo: required
php:
- 5.6
- 7.0
- 7.1
- 7.2
env:
global:
- CORE_BRANCH=master
- APP_NAME=security
matrix:
- DB=sqlite
branches:
only:
- master
before_install:
- which php
- more $(which pecl)
- which phpize
- bash tests/.travis/before_install.sh $APP_NAME $CORE_BRANCH $DB
- make
- make appstore
- cd ../core
- php occ app:enable $APP_NAME
script:
# execute unit tests
- cd apps/$APP_NAME/tests
- ../../../lib/composer/phpunit/phpunit/phpunit --configuration phpunit.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
after_failure:
- cat ../../data/owncloud.log
matrix:
include:
- php: 5.6
env: DB=mysql
- php: 7.0
env: DB=mysql
- php: 7.1
env: DB=mysql
- php: 5.6
env: DB=pgsql
- php: 7.0
env: DB=pgsql
- php: 7.1
env: DB=pgsql
- php: 5.6
env: DB=oracle
- php: 7.0
env: DB=oracle
- php: 7.1
env: DB=oracle
fast_finish: true