Merge pull request #227 from moorereason/iss226

Add Travis CI and Appveyor configurations
This commit is contained in:
Adnan Hajdarević 2018-02-15 20:24:46 +01:00 committed by GitHub
commit 4f9ed434c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 ./...