Skip to content

Commit

Permalink
Add a separate profile for testing against clj-http 0.7.6/HTTPCore 4.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Mar 8, 2014
1 parent b1cc2ff commit e3d17ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@
:profiles {:dev {:resource-paths ["test/resources"]
:dependencies [[clj-time "0.4.4" :exclusions [org.clojure/clojure]]]
:plugins [[codox "0.6.1"]]}
;; this version of clj-http depends on HTTPCore 4.2.x which
;; some projects (e.g. using Spring's RestTemplate) can rely on,
;; so we test for compatibility with it. MK.
:cljhttp076 {:dependencies [[clj-http "0.7.6"]]}
:1.4 {:dependencies [[org.clojure/clojure "1.4.0"]]}
:1.6 {:dependencies [[org.clojure/clojure "1.6.0-beta2"]]}
:master {:dependencies [[org.clojure/clojure "1.6.0-master-SNAPSHOT"]]}}
:aliases {"all" ["with-profile" "dev:dev,1.4:dev,1.6"]}
:aliases {"all" ["with-profile" "dev:dev,1.4:dev,1.6:dev,cljhttp076:dev,1.6,cljhttp076"]}
:repositories {"sonatype" {:url "http://oss.sonatype.org/content/repositories/releases"
:snapshots false
:releases {:checksum :fail :update :always}}
Expand Down

0 comments on commit e3d17ec

Please sign in to comment.