Fixed travis script, added Travis banner to readme

This commit is contained in:
Mike Farah 2017-02-13 07:55:06 +11:00
parent e3fc944709
commit 5d2d37a5f8
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# yaml
# yaml [![Build Status](https://travis-ci.org/mikefarah/yaml.svg?branch=master)](https://travis-ci.org/mikefarah/yaml)
yaml is a lightweight and flexible command-line YAML processor
The aim of the project is to be the [jq](https://github.com/stedolan/jq) or sed of yaml files.

3
ci.sh
View File

@ -1,6 +1,7 @@
#!/bin/bash
golint
set -e
go test
go build

View File

@ -1,7 +1,9 @@
#!/bin/bash
gofmt -w .
set -e
gofmt -w .
golint
./ci.sh
go install