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

23 lines
720 B
YAML
Raw Normal View History

2017-08-17 22:00:37 +05:30
# Based on openjdk:8, already includes lein
image: clojure:lein-2.7.0
# If you need to configure a database, add a `services` section here
# See https://docs.gitlab.com/ce/ci/services/postgres.html
# Make sure you configure the connection as well
before_script:
2019-07-07 11:18:12 +05:30
# If you need to install any external applications, like a
2017-08-17 22:00:37 +05:30
# postgres client, you may want to uncomment the line below:
2019-07-07 11:18:12 +05:30
#
2019-09-04 21:01:54 +05:30
# - apt-get update -y
2017-08-17 22:00:37 +05:30
#
# Retrieve project dependencies
# Do this on before_script since it'll be shared between both test and
# any production sections a user adds
- lein deps
test:
script:
2019-09-04 21:01:54 +05:30
# If you need to run any migrations or configure the database, this
# would be the point to do it.
- lein test