Skip to content

Commit 243a5cb

Browse files
committed
Add coverage
1 parent 30ef732 commit 243a5cb

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
language: clojure
22
lein: lein2
33
script: lein2 test
4+
after_script:
5+
- bash -ex coveralls.sh

coveralls.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
lein2 cloverage --coveralls
3+
curl -F 'json_file=@target/coverage/coveralls.json' 'https://coveralls.io/api/v1/jobs'

project.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919

2020
:profiles {:dev {:dependencies [[midje "1.6.3"]
2121
[rest-cljer "0.1.21" :exclusions [clj-http]]]
22-
:plugins [[lein-environ "1.0.0"]
22+
:plugins [[lein-cloverage "1.0.2"]
23+
[lein-environ "1.0.0"]
2324
[lein-midje "3.1.1"]]}})

0 commit comments

Comments
 (0)