Add Travis CI

This commit is contained in:
Cameron Moore 2017-03-03 13:59:13 -06:00 committed by Bjørn Erik Pedersen
父節點 06c9b5699b
當前提交 7684a086b8
共有 2 個文件被更改,包括 15 次插入0 次删除

14
.travis.yml Normal 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

查看文件

@ -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