Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Commit

Permalink
Add TravisCI and Coveralls configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
greglook committed Mar 5, 2015
1 parent 9376c3b commit 70bc91e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: clojure
lein: lein2
jdk:
- openjdk7
- oraclejdk7
after_script:
- bash -ex test/coveralls.sh
2 changes: 2 additions & 0 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@

:deploy-branches ["master"]

:plugins [[lein-cloverage "1.0.2"]]

:dependencies [[org.clojure/clojure "1.6.0"]])
5 changes: 5 additions & 0 deletions test/coveralls.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

COVERALLS_URL='https://coveralls.io/api/v1/jobs'
CLOVERAGE_VERSION='1.0.4' lein2 cloverage --coveralls
curl -F 'json_file=@target/coverage/coveralls.json' "$COVERALLS_URL"

0 comments on commit 70bc91e

Please sign in to comment.