Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
84b350cc
Commit
84b350cc
authored
Nov 30, 2017
by
Jaco Hofmann
Browse files
Add gitlab-ci config for sbt tests
parent
b362690d
Pipeline
#53
failed with stage
in 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
84b350cc
# This file is a template, and might need editing before it works on your project.
# 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 2EE0EA64E40A89B84B2DF73499E82A75642AC823
# Install SBT
-
curl -s "https://get.sdkman.io" | bash
-
sdk install sbt
# Log the sbt version
-
sbt sbt-version
test
:
script
:
# Execute your project's tests
-
sbt clean test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment