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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
1.3 KiB
YAML
Raw Normal View History

2022-08-13 15:12:31 +05:30
# You can copy and paste this template into a new `.gitlab-ci.yml` file.
# You should not add this template to an existing `.gitlab-ci.yml` file by using the `include:` keyword.
#
2021-09-30 23:02:18 +05:30
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Clojure.gitlab-ci.yml
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
2021-01-03 14:25:43 +05:30
# See https://docs.gitlab.com/ee/ci/services/postgres.html
2017-08-17 22:00:37 +05:30
# 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
2022-11-25 23:54:43 +05:30
deploy:
stage: deploy
script: echo "Define your deployment script!"
environment: production