Add Travis CI

This commit is contained in:
Cameron Moore 2017-03-03 13:59:13 -06:00 committed by Bjørn Erik Pedersen
parent 816e3433fe
commit ce135a4ebe
2 changed files with 15 additions and 0 deletions

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
language: go
sudo: required
go:
- 1.7.5
- 1.8
- tip
os:
- linux
matrix:
allow_failures:
- go: tip
fast_finish: true
script:
- make check

View File

@ -1,6 +1,7 @@
cast
====
[![GoDoc](https://godoc.org/github.com/spf13/cast?status.svg)](https://godoc.org/github.com/spf13/cast)
[![Build Status](https://api.travis-ci.org/spf13/cast.svg?branch=master)](https://travis-ci.org/spf13/cast)
[![Go Report Card](https://goreportcard.com/badge/github.com/spf13/cast)](https://goreportcard.com/report/github.com/spf13/cast)
Easy and safe casting from one type to another in Go