diff --git a/.travis.yml b/.travis.yml index 5abb530..c764079 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,4 @@ language: clojure +before_install: lein plugin install lein-multi 1.1.0 before_script: ./bin/ci/before_script.sh +script: lein multi test diff --git a/README.md b/README.md index e4feeb4..3fc5912 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,35 @@ We are working on documentation guides & examples site for the 1.0 release. In t [Monger has a mailing list](https://groups.google.com/forum/#!forum/clojure-monger). Feel free to join it and ask any questions you may have. +## This is a Work In Progress + +Core Monger APIs are stabilized but it is still a work in progress. Keep that in mind. 1.0 will be released in early 2012 +together with documentation guides and dedicated website. + + +## Artifacts + +Snapshot artifacts are [released to Clojars](https://clojars.org/com.novemberain/monger) every 24 hours. + +With Leiningen: + + [com.novemberain/monger "1.0.0-SNAPSHOT"] + + +With Maven: + + + com.novemberain + monger + 1.0.0-SNAPSHOT + + + +## Supported Clojure versions + +Monger is built from the ground up for Clojure 1.3 and up. + + ## Connecting to MongoDB Monger supports working with multiple connections and/or databases but is optimized for applications that only use one connection @@ -296,43 +325,19 @@ To be documented. To be documented. +## Development -## This is a Work In Progress +Install [lein-multi]() with -Core Monger APIs are stabilized but it is still a work in progress. Keep that in mind. 1.0 will be released in early 2012 -together with documentation guides and dedicated website. + lein plugin install lein-multi 1.1.0 +then run tests against Clojure 1.3.0 and 1.4.0[-beta1] using -## Artifacts + lein multi test -Snapshot artifacts are [released to Clojars](https://clojars.org/com.novemberain/monger) every 24 hours. +Then create a branch and make your changes on it. Once you are done with your changes and all tests pass, submit a pull request +on Github. -With Leiningen: - - [com.novemberain/monger "1.0.0-SNAPSHOT"] - - -With Maven: - - - com.novemberain - monger - 1.0.0-SNAPSHOT - - - -## Continuous Integration - -[![Continuous Integration status](https://secure.travis-ci.org/michaelklishin/monger.png)](http://travis-ci.org/michaelklishin/monger) - - -CI is hosted by [travis-ci.org](http://travis-ci.org). - - - -## Supported Clojure versions - -Monger is built from the ground up for Clojure 1.3 and up. ## License diff --git a/project.clj b/project.clj index e566103..5ed2c87 100644 --- a/project.clj +++ b/project.clj @@ -2,13 +2,18 @@ :description "Monger is an experimental idiomatic Clojure wrapper around MongoDB Java driver" :license { :name "Eclipse Public License" } :repositories { "sonatype" - {:url "http://oss.sonatype.org/content/repositories/releases" - :snapshots false - :releases {:checksum :fail :update :always} - }} + {:url "http://oss.sonatype.org/content/repositories/releases" + :snapshots false + :releases {:checksum :fail :update :always} + }} :dependencies [[org.clojure/clojure "1.3.0"] [org.mongodb/mongo-java-driver "2.7.3"] [com.novemberain/validateur "1.0.0-SNAPSHOT"]] + :multi-deps { + "1.4" [[org.clojure/clojure "1.4.0-beta1"]] + :all [[org.mongodb/mongo-java-driver "2.7.3"] + [com.novemberain/validateur "1.0.0-SNAPSHOT"]] + } :dev-dependencies [[org.clojure/data.json "0.1.2" :exclusions [org.clojure/clojure]] [clj-time "0.3.3" :exclusions [org.clojure/clojure]] [codox "0.3.4" :exclusions [org.clojure/clojure]]]