Use lein-multi to test against Clojure 1.3.0 and Clojure 1.4.0[-beta1]

This commit is contained in:
Michael S. Klishin 2012-02-04 02:03:24 +04:00
parent 5a3ae8584b
commit 24d06b76d6
3 changed files with 47 additions and 35 deletions

View file

@ -1,2 +1,4 @@
language: clojure language: clojure
before_install: lein plugin install lein-multi 1.1.0
before_script: ./bin/ci/before_script.sh before_script: ./bin/ci/before_script.sh
script: lein multi test

View file

@ -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. [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:
<dependency>
<groupId>com.novemberain</groupId>
<artifactId>monger</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
## Supported Clojure versions
Monger is built from the ground up for Clojure 1.3 and up.
## Connecting to MongoDB ## Connecting to MongoDB
Monger supports working with multiple connections and/or databases but is optimized for applications that only use one connection 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. 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 lein plugin install lein-multi 1.1.0
together with documentation guides and dedicated website.
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:
<dependency>
<groupId>com.novemberain</groupId>
<artifactId>monger</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
## 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 ## License

View file

@ -9,6 +9,11 @@
:dependencies [[org.clojure/clojure "1.3.0"] :dependencies [[org.clojure/clojure "1.3.0"]
[org.mongodb/mongo-java-driver "2.7.3"] [org.mongodb/mongo-java-driver "2.7.3"]
[com.novemberain/validateur "1.0.0-SNAPSHOT"]] [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]] :dev-dependencies [[org.clojure/data.json "0.1.2" :exclusions [org.clojure/clojure]]
[clj-time "0.3.3" :exclusions [org.clojure/clojure]] [clj-time "0.3.3" :exclusions [org.clojure/clojure]]
[codox "0.3.4" :exclusions [org.clojure/clojure]]] [codox "0.3.4" :exclusions [org.clojure/clojure]]]