debian-mirror-gitlab/lib/gitlab/ci/templates/Scala.gitlab-ci.yml

23 lines
747 B
YAML
Raw Normal View History

2020-05-24 23:13:21 +05:30
# Official OpenJDK Java image. Look for the different tagged releases at
# https://hub.docker.com/_/openjdk/ . A Java image is not required
2016-08-24 12:49:21 +05:30
# but an image with a JVM speeds up the build a bit.
2020-05-24 23:13:21 +05:30
image: openjdk:8
2016-08-24 12:49:21 +05:30
before_script:
# Enable the usage of sources over https
- apt-get update -yqq
- apt-get install apt-transport-https -yqq
# Add keyserver for SBT
- echo "deb http://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list
2017-08-17 22:00:37 +05:30
- apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
2016-08-24 12:49:21 +05:30
# Install SBT
- apt-get update -yqq
- apt-get install sbt -yqq
# Log the sbt version
2020-05-24 23:13:21 +05:30
- sbt sbtVersion
2016-08-24 12:49:21 +05:30
test:
script:
# Execute your project's tests
- sbt clean test