forked from scala/scala3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
80 lines (73 loc) · 2.42 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
70
71
72
73
74
75
76
77
78
79
80
# After updating this file, you need to re-sign it:
#
# - Install [drone-cli](http://readme.drone.io/usage/getting-started-cli/)
# - Copy your token from http://dotty-ci.epfl.ch/account (Click SHOW TOKEN)
# - DRONE_TOKEN=your-token DRONE_SERVER=http://dotty-ci.epfl.ch drone sign lampepfl/dotty
#
# Please note that the signing can only be done by collaborators.
pipeline:
test:
image: lampepfl/dotty:07-06-2017
pull: true
commands:
- ./project/scripts/sbt "${CI_TEST}"
when:
branch:
exclude: gh-pages
publish_nightly:
image: lampepfl/dotty:07-06-2017
pull: true
commands:
- ./project/scripts/sbt ";clean ;publishLocal" "${CI_PUBLISH}"
- ./project/scripts/sbt "sbt-dotty/scripted source-dependencies/*" "${CI_PUBLISH}"
- NIGHTLYBUILD="yes" ./project/scripts/sbtPublish ${CI_PUBLISH} $SONATYPE_USER $SONATYPE_PW $PGP_PW ";dotty-bootstrapped/publishSigned ;sonatypeRelease"
volumes:
- /home/drone/keys:/keys
when:
event: deployment
environment: nightly
publish_release:
image: lampepfl/dotty:07-06-2017
pull: true
commands:
- RELEASEBUILD="yes" ./project/scripts/sbtPublish ${CI_PUBLISH} $SONATYPE_USER $SONATYPE_PW $PGP_PW ";dotty-bootstrapped/publishSigned ;sonatypeRelease"
volumes:
- /home/drone/keys:/keys
when:
event: deployment
environment: release
publish_sbt_release:
image: lampepfl/dotty:07-06-2017
pull: true
commands:
- RELEASEBUILD="yes" ./project/scripts/sbtPublish ${CI_PUBLISH} $SONATYPE_USER $SONATYPE_PW $PGP_PW ";sbt-dotty/publishSigned ;sonatypeRelease"
volumes:
- /home/drone/keys:/keys
when:
event: deployment
environment: sbt_release
documentation:
image: lampepfl/dotty:07-06-2017
pull: true
commands:
- ./project/scripts/genDocs "${CI_PUBLISH}" $BOT_PASS
when:
branch: master
slack:
image: plugins/slack
channel: dotty
when:
branch: master
status: changed
matrix:
include:
- CI_TEST: dotty-bin-tests/test
CI_PUBLISH: true
- CI_TEST: legacyTests
CI_PUBLISH: false
- CI_TEST: ;test;sbt-dotty/scripted compilerReporter/*;sbt-dotty/scripted discovery/*;sbt-dotty/scripted sbt-dotty/*
CI_PUBLISH: false
- CI_TEST: dotty-bootstrapped/test
CI_PUBLISH: false
- CI_TEST: ;set bootstrapOptimised in ThisBuild := true ;dotty-bootstrapped/test
CI_PUBLISH: false