Browse Source

Add Travis CI file

master
Trevor Slocum 5 years ago
parent
commit
39b6a09572
  1. 35
      .travis.yml
  2. 3
      README.md

35
.travis.yml

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

3
README.md

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

Loading…
Cancel
Save