summaryrefslogtreecommitdiff
path: root/vendor/gitlab-ci-yml/Scala.gitlab-ci.yml
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-07-06 10:17:31 +0200
committerRémy Coutable <remy@rymai.me>2016-07-06 10:17:31 +0200
commita91e4a904281c515825b5a08fa56001632aaa5e3 (patch)
tree86533421e2a3d389ecf30438b70072efcd71d556 /vendor/gitlab-ci-yml/Scala.gitlab-ci.yml
parentcfd5870b62e9d76e564ffc64db1d1281b4a363bb (diff)
downloadgitlab-ce-a91e4a904281c515825b5a08fa56001632aaa5e3.tar.gz
Add and update .gitignore & .gitlab-ci.yml templates for 8.10update-templates-for-8-10
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'vendor/gitlab-ci-yml/Scala.gitlab-ci.yml')
-rw-r--r--vendor/gitlab-ci-yml/Scala.gitlab-ci.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/gitlab-ci-yml/Scala.gitlab-ci.yml b/vendor/gitlab-ci-yml/Scala.gitlab-ci.yml
new file mode 100644
index 00000000000..443ba42e38c
--- /dev/null
+++ b/vendor/gitlab-ci-yml/Scala.gitlab-ci.yml
@@ -0,0 +1,22 @@
+# Official Java image. Look for the different tagged releases at
+# https://hub.docker.com/r/library/java/tags/ . A Java image is not required
+# but an image with a JVM speeds up the build a bit.
+image: java:8
+
+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
+ - apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
+ # Install SBT
+ - apt-get update -yqq
+ - apt-get install sbt -yqq
+ # Log the sbt version
+ - sbt sbt-version
+
+test:
+ script:
+ # Execute your project's tests
+ - sbt clean test