Skip to content

Commit

Permalink
Add coveralls.io.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruedigergad committed Jun 24, 2014
1 parent 827ff64 commit ebe90a3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
@@ -1,5 +1,7 @@
language: clojure
lein: lein2
after_script:
- bash -ex test/coveralls.sh
jdk:
- openjdk7
- oraclejdk8
1 change: 1 addition & 0 deletions project.clj
Expand Up @@ -9,4 +9,5 @@
:test2junit-output-dir "ghpages/test-results"
:test2junit-run-ant true
:aot [clj-assorted-utils.JavaUtils]
:plugins [[lein-cloverage "1.0.2"]]
)
4 changes: 4 additions & 0 deletions test/coveralls.sh
@@ -0,0 +1,4 @@
COVERALLS_URL='https://coveralls.io/api/v1/jobs'
lein2 cloverage -o cov --coveralls
curl -F 'json_file=@cov/coveralls.json' "$COVERALLS_URL"

0 comments on commit ebe90a3

Please sign in to comment.