From 41e8c27fdce74a3af8a1572656016325311d4ec6 Mon Sep 17 00:00:00 2001 From: Cedric Staub Date: Thu, 2 Jun 2016 13:47:49 -0700 Subject: [PATCH] Add travis-ci build file --- .travis.yml | 16 ++++++++++++++++ README.md | 4 ++++ 2 files changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4bdc16c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +--- + +language: go + +go: + - 1.6 + +before_install: + - go get -v ./... + +install: + - go build -v . + +before_script: + - go vet -v . # run go vet to find suspicious constructs + - "! (gofmt -d . | grep .)" # ensure that all code is properly formatted diff --git a/README.md b/README.md index 9e646c6..0a4aa6c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # certigo +[![license](http://img.shields.io/badge/license-apache_2.0-red.svg?style=flat)](https://raw.githubusercontent.com/square/certigo/master/LICENSE) +[![build](https://travis-ci.org/square/certigo.svg?branch=master)](https://travis-ci.org/square/certigo) +[![report](https://goreportcard.com/badge/github.com/square/certigo)](https://goreportcard.com/report/github.com/square/certigo) + certigo is a utility to examine and validate certificates in a variety of formats.