forked from scalacenter/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
33 lines (31 loc) · 893 Bytes
/
.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
pipeline:
restore-cache:
image: drillster/drone-volume-cache
restore: true
mount:
- /drone/.ivy2/cache
- /drone/.coursier/cache
- /drone/.sbt
volumes:
- /tmp/cache:/cache
build:
image: scalaplatform/scala:2.0
# These secrets are all fake and uninteresting.
secrets: [ sonatype_user, sonatype_password, github_platform_token, pgp_password ]
# Do not repeat CI run if pull request is made in another branch that is not master.
when:
branch: master
volumes:
- /fake-scalacenter:/keys
commands:
- git log | head -n 20
- sbt clean sbt-platform/test sbt-platform/publishLocal sbt-platform/scripted
rebuild-cache:
image: drillster/drone-volume-cache
rebuild: true
mount:
- /drone/.ivy2/cache
- /drone/.coursier/cache
- /drone/.sbt
volumes:
- /tmp/cache:/cache