File tree 2 files changed +15
-15
lines changed
2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 3
3
# - Install [drone-cli](http://readme.drone.io/usage/getting-started-cli/)
4
4
# - Copy your token from http://dotty-ci.epfl.ch/account (Click SHOW TOKEN)
5
5
# - (export DRONE_TOKEN=your-token; export DRONE_SERVER=http://dotty-ci.epfl.ch; drone sign lampepfl/dotty)
6
+ #
7
+ # Please note that the signing can only be done by collaborators.
6
8
7
9
pipeline :
8
10
test :
@@ -12,7 +14,7 @@ pipeline:
12
14
- ln -s /var/cache/drone/scala-scala scala-scala
13
15
- ln -s /var/cache/drone/ivy2 "$HOME/.ivy2"
14
16
- ./scripts/update-scala-library
15
- - sbt -J-Xmx4096m -J-XX:ReservedCodeCacheSize=512m -J-XX:MaxMetaspaceSize=1024m -Ddotty.drone.mem=4096m "${TEST }"
17
+ - sbt -J-Xmx4096m -J-XX:ReservedCodeCacheSize=512m -J-XX:MaxMetaspaceSize=1024m -Ddotty.drone.mem=4096m "${CI_TEST }"
16
18
when :
17
19
branch :
18
20
exclude : gh-pages
@@ -21,16 +23,10 @@ pipeline:
21
23
image : lampepfl/dotty:24-04-2017
22
24
pull : true
23
25
commands :
24
- - ./project/scripts/genDocs "${TEST }" $BOT_PASS
26
+ - ./project/scripts/genDocs "${CI_PUBLISH }" $BOT_PASS
25
27
when :
26
28
branch : master
27
29
28
- gitter :
29
- image : plugins/gitter
30
- when :
31
- branch : master
32
- status : changed
33
-
34
30
slack :
35
31
image : plugins/slack
36
32
channel : dotty
@@ -39,8 +35,12 @@ pipeline:
39
35
status : changed
40
36
41
37
matrix :
42
- TEST :
43
- - dotty-bin-tests/test
44
- - legacyTests
45
- - test
46
- - ;publishLocal ;dotty-bootstrapped/test
38
+ include :
39
+ - CI_TEST : dotty-bin-tests/test
40
+ CI_PUBLISH : true
41
+ - CI_TEST : legacyTests
42
+ CI_PUBLISH : false
43
+ - CI_TEST : test
44
+ CI_PUBLISH : false
45
+ - CI_TEST : ;publishLocal ;dotty-bootstrapped/test
46
+ CI_PUBLISH : false
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- # Usage: ./genDocs <test variable > <dotty-bot password>
3
+ # Usage: ./genDocs <true/false > <dotty-bot password>
4
4
5
5
set -e
6
6
# set extended glob, needed for rm everything but x
7
7
shopt -s extglob
8
8
9
- if [ " $1 " = " ;dotty-compiler/testOnly dotty.tools.dotc.CompilationTests " ]; then
9
+ if [ $1 = true ]; then
10
10
11
11
# make sure that BOT_PASS is set
12
12
if [ -z ${2+x} ]; then
You can’t perform that action at this time.
0 commit comments