forked from reactors-io/reactors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
69 lines (62 loc) · 1.43 KB
/
.gitlab-ci.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
image: stormenroute/storm-enroute-build:0.15
before_script:
- |
eval `ssh-agent -s`
echo "exec cat" > ap-cat.sh
chmod a+x ap-cat.sh
export DISPLAY=1
echo "$SSH_KEY_PASS" | SSH_ASKPASS=./ap-cat.sh ssh-add ~/.ssh/id_rsa
rm ap-cat.sh
export SSH_KEY_PASS=""
export DISPLAY=""
- |
mkdir -p ~/.sbt/0.13/
echo 'scalacOptions ++= Seq("-Xmax-classfile-name", "90")' > ~/.sbt/0.13/local.sbt
- git clone [email protected]:storm-enroute/super-storm-enroute.git ~/.super-storm-enroute
gate-ubuntu:
tags:
- ubuntu
- gate
script:
- ~/.super-storm-enroute/tools/ci reactors $(pwd)
cache:
paths:
- /root/.ivy2/
- /root/.sbt/
artifacts:
paths:
- /builds/storm-enroute/reactors/reactors/target/videos
when:
always
expire_in:
1 week
gate-standalone-ubuntu:
tags:
- ubuntu
- gate
script:
- ~/.super-storm-enroute/tools/sbt scalastyle
- ~/.super-storm-enroute/tools/sbt test
- ~/.super-storm-enroute/tools/sbt clean
- ~/.super-storm-enroute/tools/sbt ++2.12.2 test
cache:
paths:
- /root/.ivy2/
- /root/.sbt/
artifacts:
paths:
- /builds/storm-enroute/reactors/target/videos
when:
always
expire_in:
1 week
bench-ubuntu:
tags:
- ubuntu
- bench
script:
- ~/.super-storm-enroute/tools/ci --bench=True . $(pwd)
cache:
paths:
- /root/.ivy2/
- /root/.sbt/