diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0532b51 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: clojure +lein: lein2 +script: lein2 do clean, javac, test :all + +# Cache our Maven deps to be kind to clojars +cache: + directories: + - $HOME/.m2 +jdk: + - openjdk7 + - oraclejdk7 + - oraclejdk8 +# branches: +# only: +# - master diff --git a/README.md b/README.md index 454fe42..991e910 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/yogsototh/fuck-cors.svg?branch=master)](https://travis-ci.org/yogsototh/fuck-cors) + # fuck-cors A Clojure library designed to fuck CORS and open your API completely. @@ -18,9 +20,7 @@ In which case should you use this library: Add -~~~ -[fuck-cors 0.1.0] -~~~ +[![Clojars Project](https://img.shields.io/clojars/v/fuck-cors.svg)](https://clojars.org/fuck-cors) to your `project.clj`.