From 7189b602db5dae803723f50370e99ea4c6119cb2 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Sun, 17 Apr 2016 21:59:10 +0200 Subject: [PATCH] added travis and clojars badges --- .travis.yml | 15 +++++++++++++++ README.md | 6 +++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 .travis.yml 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`.