mirror of
https://github.com/syncthing/notify.git
synced 2026-06-07 08:57:32 +00:00
Merge branch 'master' of https://github.com/rjeczalik/notify
This commit is contained in:
+3
-8
@@ -1,7 +1,8 @@
|
||||
language: go
|
||||
|
||||
go:
|
||||
- 1.5.2
|
||||
- 1.4.3
|
||||
- 1.6
|
||||
|
||||
os:
|
||||
- linux
|
||||
@@ -10,26 +11,20 @@ os:
|
||||
matrix:
|
||||
include:
|
||||
- os: osx
|
||||
go: 1.5.2
|
||||
go: 1.6
|
||||
env:
|
||||
- GOFLAGS="-tags kqueue"
|
||||
|
||||
env:
|
||||
global:
|
||||
- secure: JfdLa3hcnvIwT13kbH2fr4c+4V9H4yO4GZsqDckODmxILlEtKcCLM5eCi09D21uTuaMUfZDIFNPN4mpDhbeEoM6Aoro4Ht+mX0vlpFUOS5bRqhP0l59PKEXqKFfh2IIlqEOmQ9XU6XvqWezTirN1OFUPMIMO9qSM/HuKhbX5wJQ=
|
||||
- GOBIN=$HOME/bin
|
||||
- PATH=$HOME/bin:$PATH
|
||||
|
||||
install:
|
||||
- if [ "$(curl -LIsS -w %{http_code} coveralls.io | tail -1)" = "200" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export COVERALLS=1; fi
|
||||
- go get golang.org/x/tools/cmd/vet
|
||||
- if [ "$COVERALLS" = "1" ]; then go get golang.org/x/tools/cmd/cover github.com/mattn/goveralls github.com/modocache/gover; fi
|
||||
- go get -t -v ./...
|
||||
|
||||
script:
|
||||
- go tool vet -all .
|
||||
- go install $GOFLAGS ./...
|
||||
- go test -v -race $GOFLAGS ./...
|
||||
- if [ "$COVERALLS" = "1" ]; then go list -f '{{if len .TestGoFiles}}go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}{{end}}' ./... | xargs -i sh -c {}; fi
|
||||
- if [ "$COVERALLS" = "1" ]; then gover; fi
|
||||
- if [ "$COVERALLS" = "1" ]; then goveralls -coverprofile=gover.coverprofile -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
|
||||
|
||||
@@ -16,3 +16,6 @@ Filesystem event notification library on steroids. (under active development)
|
||||
*Projects using notify*
|
||||
|
||||
- [github.com/rjeczalik/cmd/notify](https://godoc.org/github.com/rjeczalik/cmd/notify)
|
||||
- [github.com/cortesi/devd](https://github.com/cortesi/devd)
|
||||
- [github.com/cortesi/modd](https://github.com/cortesi/modd)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user