-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
34 lines (28 loc) · 893 Bytes
/
.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
image: java:8
before_script:
- apt-get update -y
- apt-get install apt-transport-https -y
## Install NodeJS
- apt-get install curl -y
- curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
- echo "deb https://deb.nodesource.com/node_11.x jessie main" > /etc/apt/sources.list.d/nodesource.list
- apt-get update -y
- apt-get install nodejs -y
## Install SBT
- echo "deb https://dl.bintray.com/sbt/debian /" > /etc/apt/sources.list.d/sbt.list
- apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
- apt-get update -y
- apt-get install sbt -y
## Install SASS rubygem
- apt-get install ruby-sass -y
cache:
paths:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
variables:
SBT_OPTS: "-Xms1g -Xmx1g -XX:MaxMetaspaceSize=1g"
stages:
- test
test:
stage: test
script: sbt clean test