From ff693ab4878b576e8fad0514deed421dff9c5633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vytautas=20=C5=A0altenis?= Date: Fri, 29 Aug 2014 15:39:26 +0300 Subject: [PATCH 1/3] Add a simple Travis config --- .travis.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9dae969 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +# Travis CI (http://travis-ci.org/) is a continuous integration service for +# open source projects. This file configures it to run unit tests for +# blackfriday. + +language: go + +go: + - 1.2 + - 1.3 + - tip + +install: + - go get -d -v ./... + - go build -v ./... + +script: + - go test -v ./... From c50c511603515d99772f7f045346b6df1706bce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vytautas=20=C5=A0altenis?= Date: Sat, 30 Aug 2014 00:10:33 +0300 Subject: [PATCH 2/3] More Travis stuff: better go get, plus build badge --- .travis.yml | 2 +- README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9dae969..cb20076 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ go: - tip install: - - go get -d -v ./... + - go get -d -t -v ./... - go build -v ./... script: diff --git a/README.md b/README.md index bf97565..5443df4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/russross/blackfriday.svg?branch=master)](https://travis-ci.org/russross/blackfriday) + Blackfriday =========== From 16035869a6a9f1e58cd1ceb9cd1a094a95a3c0ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vytautas=20=C5=A0altenis?= Date: Sat, 30 Aug 2014 10:09:18 +0300 Subject: [PATCH 3/3] Remove go tip from Travis build matrix --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cb20076..c6dc275 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,6 @@ language: go go: - 1.2 - 1.3 - - tip install: - go get -d -t -v ./...