aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
blob: 22ce99c3ae53851c10426d1c6701eb33e6a5cf88 (plain) (blame)
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
# 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)
# - (export DRONE_TOKEN=your-token; export DRONE_SERVER=http://dotty-ci.epfl.ch; drone sign lampepfl/dotty)

pipeline:
  test:
    image: lampepfl/dotty:latest
    pull: true
    commands:
      - ln -s /var/cache/drone/scala-scala scala-scala
      - ln -s /var/cache/drone/ivy2 "$HOME/.ivy2"
      - ./scripts/update-scala-library
      - sbt -J-Xmx4096m -J-XX:ReservedCodeCacheSize=512m -J-XX:MaxMetaspaceSize=1024m -Ddotty.drone.mem=4096m "${TEST}"
    when:
      branch:
        exclude: gh-pages

  documentation:
    image: lampepfl/dotty:latest
    pull: true
    commands:
      - ./project/scripts/genDocs "${TEST}" $BOT_PASS
    when:
      branch: master

  gitter:
    image: plugins/gitter
    when:
      branch: master
      status: changed

  slack:
    image: plugins/slack
    channel: dotty
    when:
      branch: master
      status: changed

matrix:
  TEST:
    - dotty-bin-tests/test
    - legacyTests
    - test
    - ;publishLocal ;dotty-bootstrapped/test