Add Travis CI file

This commit is contained in:
Trevor Slocum 2017-07-25 14:21:55 -07:00
parent 24fc8f9ef5
commit fe9048a975
2 changed files with 38 additions and 0 deletions

35
.travis.yml Normal file
View File

@ -0,0 +1,35 @@
language: go
go:
- 1.x
- tip
install: true
matrix:
allow_failures:
- go: tip
fast_finish: true
notifications:
email: false
before_script:
- GO_FILES=$(find . -iname '*.go' | grep -v /vendor/)
- PKGS=$(go list ./... | grep -v /vendor/)
# - go get github.com/golang/lint/golint
# - go get honnef.co/go/tools/cmd/megacheck
script:
- test -z $(gofmt -s -l $GO_FILES)
- go test -v -race $PKGS
- go vet $PKGS
# - megacheck $PKGS
# - golint -set_exit_status $PKGS
notifications:
irc:
channels:
- "z.1chan.us#anonircd"
on_success: change
on_failure: always

View File

@ -1,5 +1,8 @@
# AnonIRCd
[![Build Status](https://travis-ci.org/tslocum/AnonIRCd.svg?branch=master)](https://travis-ci.org/tslocum/AnonIRCd)
[![GoDoc](https://godoc.org/github.com/tslocum/AnonIRCd?status.svg)](https://godoc.org/github.com/tslocum/AnonIRCd)
AnonIRCd is an anonymous IRC daemon. All messages appear to be written by **Anonymous**.
#### Try AnonIRCd by joining AnonIRC