Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial commit

  • Loading branch information...
commit 5aa042a4b4cb4959642d929f6ba57544e15db2f7 0 parents
@michaelklishin michaelklishin authored
8 .gitignore
@@ -0,0 +1,8 @@
+pom.xml
+*jar
+/lib/
+/classes/
+.lein-failures
+.lein-deps-sum
+TAGS
+checkouts/*
1  .travis.yml
@@ -0,0 +1 @@
+language: clojure
28 README.md
@@ -0,0 +1,28 @@
+# Example travis-ci.org Clojure project
+
+This is an example Clojure project that uses [Leiningen](https://github.com/technomancy/leiningen), clojure.test and
+travis-ci.org for continuous integration.
+
+## Usage
+
+Make sure you have Leiningen installed. Then install dependencies with
+
+ lein deps
+
+and run tests with
+
+ lein test
+
+For travis-ci.org integration bits, see `.travis.yml`, read our [Getting Started guide]() and [the rest of the documentation]().
+
+
+## Support
+
+If you have any questions, we are in `#travis` on irc.freenode.net, on Twitter [@travisci](http://twitter.com/travisci) and have a [mailing list](https://groups.google.com/forum/#!forum/travis-ci).
+
+
+## License
+
+Copyright (C) 2012 Travis CI Development Team
+
+Distributed under the Eclipse Public License, the same as Clojure.
21 project.clj
@@ -0,0 +1,21 @@
+(defproject org.travis-ci/example "1.0.0-SNAPSHOT"
+ :description "An example Clojure project that uses Leiningen, clojure.test and uses travis-ci.org for CI"
+ :repositories {
+ "clojure-releases" "http://build.clojure.org/releases"
+ "sonatype" {:url "http://oss.sonatype.org/content/repositories/releases"
+ :snapshots false
+ :releases {:checksum :fail :update :always}
+ }
+ "sonatype-snapshots" {:url "http://oss.sonatype.org/content/repositories/snapshots"
+ :snapshots true
+ :releases {:checksum :fail :update :always}
+ }
+ }
+ :dependencies [[org.clojure/clojure "1.3.0"]]
+ :source-path "src/clojure"
+ :java-source-path "src/java"
+ :warn-on-reflection true
+ :test-selectors {:default (fn [v] (not (:time-consuming v)))
+ :time-consuming (fn [v] (:time-consuming v))
+ :focus (fn [v] (:focus v))
+ :all (fn [_] true)})
1  src/clojure/org/travis_ci/example/core.clj
@@ -0,0 +1 @@
+(ns org.travis-ci.example.core)
0  src/java/.gitkeep
No changes.
9 test/org/travis_ci/example/test/core.clj
@@ -0,0 +1,9 @@
+(ns org.travis-ci.example.test.core
+ (:use [org.travis-ci.example.core])
+ (:use [clojure.test]))
+
+(deftest test-absolute-truth
+ (is true))
+
+(deftest test-some-basic-arithmetic
+ (is (= 10 (+ 1 2 3 4))))

0 comments on commit 5aa042a

Please sign in to comment.
Something went wrong with that request. Please try again.