File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1
1
pipeline :
2
+ # TESTS:
2
3
# We run tests in parallel. Tests run in a copy of the working directory to avoid conflict
3
4
test_legacy :
4
5
group : test
@@ -35,8 +36,10 @@ pipeline:
35
36
- cp -R . /tmp/4/ && cd /tmp/4/
36
37
- ./project/scripts/sbt sbt-dotty/scripted
37
38
when :
39
+ # sbt scripted tests are slow and don't run on PRs
38
40
event : [ push, tag, deployment ]
39
41
42
+ # DOCUMENTATION:
40
43
documentation :
41
44
image : lampepfl/dotty:2017-09-05
42
45
commands :
@@ -45,6 +48,8 @@ pipeline:
45
48
when :
46
49
event : push
47
50
51
+ # PUBLISHING:
52
+ # Publishing expect NIGHTLYBUILD or RELEASEBUILD to be set. See dottyVersion in Build.scala
48
53
publish_nightly :
49
54
image : lampepfl/dotty:2017-09-05
50
55
environment :
@@ -84,6 +89,7 @@ pipeline:
84
89
event : deployment
85
90
environment : sbt_release
86
91
92
+ # NOTIFICATIONS:
87
93
slack :
88
94
image : plugins/slack
89
95
channel : dotty
@@ -92,5 +98,5 @@ pipeline:
92
98
status : [ success, failure ]
93
99
event : [ push, tag, deployment ]
94
100
95
-
101
+ # CI runs only for the master branch (including PRs)
96
102
branches : master
Original file line number Diff line number Diff line change 3
3
# Usage:
4
4
# BOT_PASS=<dotty-bot password> ./genDocs
5
5
6
- set -e
6
+ set -ex
7
+
7
8
# set extended glob, needed for rm everything but x
8
9
shopt -s extglob
9
10
Original file line number Diff line number Diff line change 3
3
# Usage:
4
4
# ./sbt <cmd>
5
5
6
+ set -ex
7
+
6
8
CMD=" $1 "
7
9
8
10
if [ -z " $CMD " ]; then
13
15
# get the ivy2 cache
14
16
ln -s /var/cache/drone/ivy2 " $HOME /.ivy2"
15
17
16
- # run sbt with the supplied arg:
18
+ # run sbt with the supplied arg
17
19
sbt -J-Xmx4096m \
18
20
-J-XX:ReservedCodeCacheSize=512m \
19
21
-J-XX:MaxMetaspaceSize=1024m \
Original file line number Diff line number Diff line change 3
3
# Usage:
4
4
# SONATYPE_USER=<sonatype user> SONATYPE_PW=<sonatype pw> PGP_PW=<pgp pw> ./sbtPublish <publish cmd>
5
5
6
+ set -ex
7
+
6
8
# Release command:
7
9
RELEASE_CMD=" $1 "
8
10
@@ -30,6 +32,7 @@ CMD="$CMD ;set pgpSecretRing := file(\"/keys/secring.asc\")"
30
32
CMD=" $CMD ;set pgpPublicRing := file(\" /keys/pubring.asc\" )"
31
33
CMD=" $CMD $RELEASE_CMD "
32
34
35
+ # run sbt with the supplied arg
33
36
sbt -J-Xmx4096m \
34
37
-J-XX:ReservedCodeCacheSize=512m \
35
38
-J-XX:MaxMetaspaceSize=1024m \
You can’t perform that action at this time.
0 commit comments