-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy path.drone.yml
69 lines (69 loc) · 1.61 KB
/
.drone.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
pipeline:
clone:
image: plugins/git
depth: 1
signed-off-check:
image: nextcloudci/php7.0:php7.0-6
environment:
- APP_NAME=updater
- CORE_BRANCH=master
- DB=sqlite
commands:
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server
- php ./build/signed-off-checker.php
when:
matrix:
TESTS: signed-off-check
check-same-code-base:
image: nextcloudci/php7.0:php7.0-6
commands:
- make check-same-code-base
when:
matrix:
TESTS: check-same-code-base
test-cli-php54:
image: nextcloudci/php5.4:php5.4-5
commands:
- make test
when:
matrix:
TESTS: test-php54
test-cli-php55:
image: nextcloudci/php5.5:php5.5-5
commands:
- make test
when:
matrix:
TESTS: test-php55
test-cli-php56:
image: nextcloudci/php5.6:php5.6-7
commands:
- make test
when:
matrix:
TESTS: test-php56
test-cli-php70:
image: nextcloudci/php7.0:php7.0-6
commands:
- make test
when:
matrix:
TESTS: test-php70
test-cli-php71:
image: nextcloudci/php7.1:php7.1-9
commands:
- make test
when:
matrix:
TESTS: test-php71
matrix:
include:
#- TESTS: test-php54 # TODO currently the php built in server can't be used
- TESTS: test-php55
- TESTS: test-php56
- TESTS: test-php70
#- TESTS: test-php71 - not supported on Nextcloud up to 10
- TESTS: signed-off-check
- TESTS: check-same-code-base