-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,39 @@ | ||
(set-env! | ||
:resource-paths #{"src"} | ||
:source-paths #{"test-resources" "test"} | ||
:dependencies '[[org.clojure/clojure "1.7.0" :scope "provided"] | ||
[adzerk/boot-test "1.0.4" :scope "test"]]) | ||
:dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"] | ||
[metosin/boot-alt-test "0.3.0" :scope "test"]]) | ||
|
||
(require '[adzerk.boot-test :refer [test]]) | ||
(require '[metosin.boot-alt-test :refer [alt-test]]) | ||
|
||
(def +version+ "0.2.0-SNAPSHOT") | ||
|
||
(task-options! | ||
pom {:project 'metosin/clj-suomi | ||
:version "0.2.0-SNAPSHOT" | ||
:version +version+ | ||
:description "Access Finnish code sets" | ||
:url "https://github.com/metosin/clj-suomi" | ||
:license {"Eclipse Public License" "http://www.eclipse.org/legal/epl-v10.html"}}) | ||
|
||
(ns-unmap *ns* 'test) | ||
|
||
(deftask test [] | ||
(alt-test)) | ||
|
||
(deftask build [] | ||
(comp | ||
(pom) | ||
(jar))) | ||
|
||
(deftask dev [] | ||
(comp | ||
(watch) | ||
(repl :server true) | ||
(pom) | ||
(jar) | ||
(watch) | ||
(test) | ||
(build) | ||
(install))) | ||
|
||
(deftask run-tests [] | ||
(test)) | ||
(deftask deploy [] | ||
(comp | ||
(build) | ||
(push :repo "clojars" :gpg-sign (not (.endsWith +version+ "-SNAPSHOT"))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
machine: | ||
java: | ||
version: oraclejdk8 | ||
general: | ||
artifacts: | ||
- target/coverage | ||
environment: | ||
BOOT_VERSION: 2.7.1 | ||
_JAVA_OPTIONS: "-Xms512m -Xmx1024m" | ||
dependencies: | ||
cache_directories: | ||
- "~/.boot/cache/lib" | ||
- "~/.boot/cache/bin" | ||
override: | ||
- curl -L https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh -o ~/bin/boot | ||
- chmod +x ~/bin/boot | ||
- mkdir -p ~/.boot | ||
- boot test | ||
test: | ||
pre: | ||
- mkdir $CIRCLE_TEST_REPORTS/lein | ||
override: | ||
- lein test-out junit $CIRCLE_TEST_REPORTS/lein/results.xml | ||
- CLOVERAGE_VERSION=1.0.7-SNAPSHOT lein cloverage --codecov && bash <(curl -s https://codecov.io/bash) -f target/coverage/codecov.json | ||
deployment: | ||
master: | ||
branch: master | ||
commands: | ||
- git config --global user.name "CircleCI" | ||
- git config --global user.email "nisotem@metosin.fi" | ||
- ./scripts/build-docs.sh | ||
- echo 1 |
This file was deleted.
Oops, something went wrong.