Skip to content

Commit

Permalink
Adding Travis CI support
Browse files Browse the repository at this point in the history
  • Loading branch information
kolotaev committed Dec 2, 2017
1 parent d526be8 commit 9fc493d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: clojure
lein: lein
script: lein test
branches:
only:
- master
jdk:
- openjdk7
- oraclejdk8
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/kolotaev/iron-cache.svg?branch=master)](https://travis-ci.org/kolotaev/iron-cache)

# IronCache Client Library for Clojure

A Clojure client for [Iron Cache](http://www.iron.io).
Expand Down Expand Up @@ -208,9 +210,9 @@ in client's configuration.

Client has unit and integration tests. You can run them simply as
```bash
lein test ;; only unit-tests
lein test :integration ;; only integration tests
lein test :all ;; all the tests
lein test :unit # only unit-tests
lein test :integration # only integration tests
lein test # all the tests
```

## License
Expand Down
6 changes: 3 additions & 3 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
:profiles {:dev {:dependencies [[ring/ring-jetty-adapter "1.6.1"]
[clj-http-fake "1.0.3"]]}}

:test-selectors {:default #(not (:integration %))
:integration :integration
:all (constantly true)})
:test-selectors {:default (constantly true)
:unit #(not (:integration %))
:integration :integration})

0 comments on commit 9fc493d

Please sign in to comment.