Permalink
Browse files

Add Travis-CI

  • Loading branch information...
1 parent c8a0f7d commit ca228e57cb354756bb03c811ec5adfb91efe8148 @devn committed May 1, 2013
Showing with 17 additions and 3 deletions.
  1. +7 −0 .travis.yml
  2. +6 −0 README.markdown
  3. +2 −1 project.clj
  4. +2 −2 test/yokogiri/test/core.clj
View
@@ -0,0 +1,7 @@
+language: clojure
+lein: lein2
+script: lein2 with-profile dev midje
+jdk:
+ - openjdk6
+ - openjdk7
+ - oraclejdk7
View
@@ -1,5 +1,11 @@
# yokogiri
+## status
+
+[![Build Status](https://travis-ci.org/devn/yokogiri.png)](https://travis-ci.org/devn/yokogiri)
+
+## getting started
+
In your `project.clj`: `[yokogiri "1.5.2"]`
```clojure
(ns myproject.core
View
@@ -8,5 +8,6 @@
:dependencies [[org.clojure/clojure "1.5.1"]
[net.sourceforge.htmlunit/htmlunit "2.9"]
[se.fishtank/css-selectors "1.0.4"]]
- :profiles {:dev {:dependencies [[midje "1.3.1"]]}}
+ :profiles {:dev {:dependencies [[midje "1.5.1" :exclusions [org.clojure/clojure]]]
+ :plugins [[lein-midje "3.0.1"]]}}
:min-lein-version "2.0.0")
@@ -2,5 +2,5 @@
(:use [yokogiri.core])
(:use [midje.sweet]))
-(facts "about clients")
-(facts "about scraping")
+(facts "about clients"
+ (make-client) => truthy)

0 comments on commit ca228e5

Please sign in to comment.