...
 
Commits (7)
image: clojure:lein-2.7.0
stages:
- test
- package
- deploy
test:
stage: test
script:
- lein test
ancient:
stage: test
script:
- lein ancient
kibit:
stage: test
script:
- lein kibit
package:
stage: package
script:
- lein pom
artifacts:
untracked: true
deploy:
stage: deploy
script:
- 'cp ci/settings.xml /root/.m2/settings.xml'
- 'mvn deploy'
dependencies:
- package
only:
- master
image: maven:3.3.9-jdk-8
<settings>
<servers>
<server>
<id>gitlab-maven</id>
<configuration>
<httpHeaders>
<property>
<name>Job-Token</name>
<value>${env.CI_JOB_TOKEN}</value>
</property>
</httpHeaders>
</configuration>
</server>
</servers>
</settings>
(defproject clj-gitlab "0.2.0"
(defproject clj-gitlab "0.2.1-SNAPSHOT"
:description "Client for GitLab API"
:url "https://gitlab.com/dzaporozhets/clj-gitlab"
:pom-addition [:distributionManagement
[:snapshotRepository
[:id "gitlab-maven"]
[:url "https://gitlab.com/api/v4/projects/4186769/packages/maven"]]
[:repository
[:id "gitlab-maven"]
[:url "https://gitlab.com/api/v4/projects/4186769/packages/maven"]]]
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit/"}
:dependencies [[org.clojure/clojure "1.10.0"]
......