@@ -13,11 +13,11 @@ steps:
13
13
- name : git
14
14
pull : default
15
15
image : plugins/git
16
- settings :
17
16
18
17
- name : clone
19
18
pull : default
20
19
image : plugins/git
20
+ depends_on : [ git ]
21
21
commands :
22
22
- if [ "$DRONE_BUILD_EVENT" = "pull_request" ]; then
23
23
git config user.email "dotty.bot@epfl.ch";
@@ -28,41 +28,37 @@ steps:
28
28
- name : test
29
29
pull : default
30
30
image : lampepfl/dotty:2019-04-22
31
+ depends_on : [ clone ]
31
32
commands :
32
33
- cp -R . /tmp/1/ && cd /tmp/1/
33
34
- ./project/scripts/sbt ";compile ;test"
34
35
- ./project/scripts/cmdTests
35
- settings :
36
- group : test
37
36
38
37
- name : test_bootstrapped
39
38
pull : default
40
39
image : lampepfl/dotty:2019-04-22
40
+ depends_on : [ clone ]
41
41
commands :
42
42
- cp -R . /tmp/2/ && cd /tmp/2/
43
43
- ./project/scripts/sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/test; dotty-semanticdb/compile; dotty-semanticdb/test:compile;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test"
44
44
- ./project/scripts/bootstrapCmdTests
45
- settings :
46
- group : test
47
45
48
46
- name : community_build
49
47
pull : default
50
48
image : lampepfl/dotty:2019-04-22
49
+ depends_on : [ clone ]
51
50
commands :
52
51
- cp -R . /tmp/3/ && cd /tmp/3/
53
52
- git submodule update --init --recursive --jobs 7
54
53
- ./project/scripts/sbt community-build/test
55
- settings :
56
- group : test
57
54
58
55
- name : test_sbt
59
56
pull : default
60
57
image : lampepfl/dotty:2019-04-22
58
+ depends_on : [ clone ]
61
59
commands :
62
60
- cp -R . /tmp/4/ && cd /tmp/4/
63
61
- ./project/scripts/sbt sbt-dotty/scripted
64
- settings :
65
- group : test
66
62
when :
67
63
event :
68
64
- tag
@@ -71,12 +67,11 @@ steps:
71
67
- name : test_java11
72
68
pull : default
73
69
image : lampepfl/dotty:2019-04-22
70
+ depends_on : [ clone ]
74
71
commands :
75
72
- export PATH="/usr/lib/jvm/java-11-openjdk-amd64/bin:$PATH"
76
73
- cp -R . /tmp/6/ && cd /tmp/6/
77
74
- ./project/scripts/sbt ";compile ;test"
78
- settings :
79
- group : test
80
75
when :
81
76
event :
82
77
- push
@@ -86,6 +81,11 @@ steps:
86
81
- name : documentation
87
82
pull : default
88
83
image : lampepfl/dotty:2019-04-22
84
+ depends_on :
85
+ - test
86
+ - test_bootstrapped
87
+ - community_build
88
+ - test_java11
89
89
commands :
90
90
- ./project/scripts/genDocs
91
91
environment :
@@ -100,6 +100,12 @@ steps:
100
100
- name : publish_nightly
101
101
pull : default
102
102
image : lampepfl/dotty:2019-04-22
103
+ depends_on :
104
+ - test
105
+ - test_bootstrapped
106
+ - community_build
107
+ - test_sbt
108
+ - test_java11
103
109
commands :
104
110
- ./project/scripts/sbtPublish ";dotty-bootstrapped/publishSigned ;sonatypeRelease"
105
111
environment :
@@ -121,6 +127,12 @@ steps:
121
127
- name : publish_release
122
128
pull : default
123
129
image : lampepfl/dotty:2019-04-22
130
+ depends_on :
131
+ - test
132
+ - test_bootstrapped
133
+ - community_build
134
+ - test_sbt
135
+ - test_java11
124
136
commands :
125
137
- ./project/scripts/sbt dist-bootstrapped/packArchive
126
138
- ./project/scripts/sbtPublish ";dotty-bootstrapped/publishSigned ;sonatypeRelease"
@@ -141,6 +153,7 @@ steps:
141
153
- name : github_release
142
154
pull : default
143
155
image : plugins/github-release
156
+ depends_on : [ publish_release ]
144
157
settings :
145
158
checksum :
146
159
- sha256
@@ -157,6 +170,12 @@ steps:
157
170
- name : publish_sbt_release
158
171
pull : default
159
172
image : lampepfl/dotty:2019-04-22
173
+ depends_on :
174
+ - test
175
+ - test_bootstrapped
176
+ - community_build
177
+ - test_sbt
178
+ - test_java11
160
179
commands :
161
180
- ./project/scripts/sbtPublish ";sbt-dotty/publishSigned ;sonatypeRelease"
162
181
environment :
0 commit comments