add travis release building

This commit is contained in:
jem 2019-01-18 10:46:35 +01:00
parent 4b4e5dce46
commit 6d0f6895cd
2 changed files with 35 additions and 1 deletions

31
.travis.yml Normal file
View file

@ -0,0 +1,31 @@
dist: trusty
language: clojure
services:
- docker
stages:
- build
jobs:
include:
- stage: build
language: clojure
script:
- lein test
- lein bower install
- lein ring uberjar
- md5sum target/uberjar/smeagol-standalone.jar > target/uberjar/smeagol-standalone.jar.md5
deploy:
- provider: releases
skip_cleanup: true
on:
#tags: true
branch: develope
draft: true
overwrite: true
api_key:
secure: "Z2DuHe8HLtIMVarGpG/TK0x5gL+/1CfaAAxUmWq8bVp229nr0TNbVNlt6j6PqioRu+mFf+wj4GyfN3VqIGcpClTp8tdBQtQQgO0Gjj/5QEDRdporiubg+EC1+BNIs+X0p4phj+w05cSz+D9XKGbJwaEG9CsFLxW8w10xtnkxikhpdEROMXf1lYsk7hiuqK+yBXbgIGNW54mcOBP+KU5GRX97EuL5USZagDNPfmquILP85MN9gXd6UxYW745nhr5P1YCkVT7h51VT42cJmecm/lrk80NDDFJ/CewPKlFtF2xM4gdeqN3FPyn3TtvYIXmJ5/ZjmO9ATM+Qny834uK7exMP6ZZb4pEbqhm4VxjqxB4Z5rTpkVrb8TzDKgKz+ZLb92eKxnkS7z9g6DdwaRgsK01c+/NgQ4qMwyXHQ+1kRFKJzHaCRgtWwInF1XC+pn4JU+EFJBwytjxs9+3p7SFKEtmxS1P/VmZbXpyAphacivzBCPCZ6eDw4Y+vVjdajJ5YrFWzv2CuV4N9ZrSQaPZl17MTv05wUSXfdR+0J7fFFF+/ZUdGMu/nebXhxreVBPN/Xai/qDBX/7VyAQTUYYfsB0Ki4SH7x08E9qU06qPcXvq7uAmUzf2agEmnF2SXaWm0fdK/9j/h4/59A0vWMfO82MnERe+LvOw30EyNnOwJJN0="
file:
- target/uberjar/smeagol-standalone.jar
- target/uberjar/smeagol-standalone.jar.md5

View file

@ -33,6 +33,8 @@
[ring-server "0.4.0"]
[selmer "1.11.0"]]
:target-path "target/%s/"
:repl-options {:init-ns smeagol.repl}
:jvm-opts ["-server"]
@ -72,7 +74,8 @@
:profiles {:uberjar {:omit-source true
:env {:production true}
:aot :all}
:aot :all
:uberjar-name "smeagol-standalone.jar"}
:production {:ring {:open-browser? false
:stacktraces? false
:auto-reload? false}}