summaryrefslogtreecommitdiff
path: root/vendor/gitlab-ci-yml/Clojure.gitlab-ci.yml
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2016-11-03 13:03:00 -0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2016-11-03 13:03:00 -0300
commit38df702b11ec5c3b608b35a3693f6e0a4dfbf089 (patch)
treef67a9b73f5db544b36962370c2f25b19c410ae5c /vendor/gitlab-ci-yml/Clojure.gitlab-ci.yml
parentd54f3a10efa7f40b4368cb19fe32c98804d6c0bd (diff)
downloadgitlab-ce-38df702b11ec5c3b608b35a3693f6e0a4dfbf089.tar.gz
Add and update .gitignore & .gitlab-ci.yml templates for 8.14
Diffstat (limited to 'vendor/gitlab-ci-yml/Clojure.gitlab-ci.yml')
-rw-r--r--vendor/gitlab-ci-yml/Clojure.gitlab-ci.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/gitlab-ci-yml/Clojure.gitlab-ci.yml b/vendor/gitlab-ci-yml/Clojure.gitlab-ci.yml
new file mode 100644
index 00000000000..f066285b1ad
--- /dev/null
+++ b/vendor/gitlab-ci-yml/Clojure.gitlab-ci.yml
@@ -0,0 +1,22 @@
+# 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:
+ # If you need to install any external applications, like a
+ # postgres client, you may want to uncomment the line below:
+ #
+ #- apt-get update -y
+ #
+ # 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:
+ # If you need to run any migrations or configure the database, this
+ # would be the point to do it.
+ - lein test