Add Travis CI and Appveyor configurations

Fixes #226
This commit is contained in:
Cameron Moore 2018-02-14 16:33:47 -06:00
parent 356870358d
commit 0934b9414c
2 changed files with 36 additions and 0 deletions

21
.travis.yml Normal file
View file

@ -0,0 +1,21 @@
language: go
go:
- 1.8.x
- 1.9.x
- tip
os:
- linux
- osx
matrix:
fast_finish: true
allow_failures:
- go: tip
install:
- go get -d -v -t ./...
script:
- go test -v -race ./...

15
appveyor.yml Normal file
View file

@ -0,0 +1,15 @@
clone_folder: C:\gopath\src\github.com\adnanh\webhook
environment:
GOPATH: c:\gopath
install:
- set PATH=%PATH%;C:\MinGW\bin;%GOPATH%\bin
- echo %PATH%
- echo %GOPATH%
- go version
- go env
- go get -d -v -t ./...
build_script:
- go test -v -race ./...