Skip to content

Commit

Permalink
Adding deployment stage and updating CHANGELOG for 2.9.2-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
sisinduku committed Feb 26, 2019
1 parent 3e0ea1b commit 22619da
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 13 deletions.
31 changes: 19 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
language: clojure

services:
- rabbitmq

script:
- lein clean
- lein deps
- mv -fv resources/config.test.{ci.edn,edn}
- lein cljfmt check
- lein test-all
- rabbitmq
stages:
- test
- name: deploy
if: (repo == gojektech/ziggurat) AND (tag IS present)
jobs:
include:
- stage: test
script:
- lein clean
- lein deps
- mv -fv resources/config.test.{ci.edn,edn}
- lein cljfmt check
- lein test-all
after_script:
- lein code-coverage
- curl --form 'json_file=@coverage/coveralls.json' "${COVERALLS_URL}"

after_script:
- lein code-coverage
- curl --form 'json_file=@coverage/coveralls.json' "${COVERALLS_URL}"
- stage: deploy
script: lein deploy clojars
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file. This change

## Unreleased Changes

## 2.9.2-SNAPSHOT - 2019-02-26
- Adds deployent stage on CI pipeline

## 2.9.1 - 2019-02-22
- Updates changelog for older releases
- Releases using java 8
Expand Down
6 changes: 5 additions & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject tech.gojek/ziggurat "2.9.1"
(defproject tech.gojek/ziggurat "2.9.2-SNAPSHOT"
:description "A stream processing framework to build stateless applications on kafka"
:url "https://github.com/gojektech/ziggurat"
:license {:name "Apache License, Version 2.0"
Expand Down Expand Up @@ -34,6 +34,10 @@
[ring-logger "0.7.7"]
[tech.gojek/sentry-clj.async "1.0.0"]
[yleisradio/new-reliquary "1.0.0"]]
:deploy-repositories [["clojars" {:url "https://clojars.org/repo"
:username :env/clojars_username
:password :env/clojars_password
:sign-releases false}]]
:java-source-paths ["src/com"]
:aliases {"test-all" ["with-profile" "default:+1.8:+1.9" "test"]
"code-coverage" ["with-profile" "test" "cloverage" "--output" "coverage" "--coveralls"]}
Expand Down

0 comments on commit 22619da

Please sign in to comment.