tracker/.travis.yml

66 lines
2.2 KiB
YAML
Raw Normal View History

2016-02-26 00:52:50 +01:00
language: go
go:
- 1.11.x
2016-02-26 00:52:50 +01:00
sudo: false
matrix:
include:
# Using vendored dependencies
- install:
2018-10-23 19:48:34 +02:00
- go get -u golang.org/x/lint/golint
- go get -u golang.org/x/tools/cmd/...
script:
- export GO111MODULE=on
- go mod download
2018-12-29 22:50:54 +01:00
- go test -v -race $(go list ./...)
- go vet $(go list ./...)
2018-10-23 20:06:52 +02:00
- diff <(goimports -local github.com/chihaya/chihaya -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(printf "")
- (for d in $(go list ./...); do diff <(golint $d) <(printf "") || exit 1; done)
2018-01-21 18:35:15 +01:00
- go install github.com/chihaya/chihaya/cmd/chihaya
- chihaya --config=example_config.yaml --debug&
- pid=$!
- sleep 2 # wait for chihaya to start up (gross)
- chihaya e2e --debug
2018-01-21 18:35:15 +01:00
- kill $pid
# Using HEAD of dependencies
- install:
- go get -t ./...
2018-10-23 19:48:34 +02:00
- go get -u golang.org/x/lint/golint
- go get -u golang.org/x/tools/cmd/...
script:
2018-12-29 22:50:54 +01:00
- go test -v -race $(go list ./...)
- go vet $(go list ./...)
2018-10-23 20:06:52 +02:00
- diff <(goimports -local github.com/chihaya/chihaya -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(printf "")
- (for d in $(go list ./...); do diff <(golint $d) <(printf "") || exit 1; done)
2018-01-21 18:35:15 +01:00
- go install github.com/chihaya/chihaya/cmd/chihaya
- chihaya --config=example_config.yaml --debug&
- pid=$!
- sleep 2 # wait for chihaya to start up (gross)
- chihaya e2e --debug
2018-01-21 18:35:15 +01:00
- kill $pid
allow_failures:
# Using HEAD of dependencies
- install:
- go get -t ./...
2018-10-23 19:48:34 +02:00
- go get -u golang.org/x/lint/golint
- go get -u golang.org/x/tools/cmd/...
script:
2018-12-29 22:50:54 +01:00
- go test -v -race $(go list ./...)
- go vet $(go list ./...)
2018-10-23 20:06:52 +02:00
- diff <(goimports -local github.com/chihaya/chihaya -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(printf "")
- (for d in $(go list ./...); do diff <(golint $d) <(printf "") || exit 1; done)
2018-01-21 18:35:15 +01:00
- go install github.com/chihaya/chihaya/cmd/chihaya
- chihaya --config=example_config.yaml --debug&
- pid=$!
- sleep 2 # wait for chihaya to start up (gross)
- chihaya e2e --debug
2018-01-21 18:35:15 +01:00
- kill $pid
2016-02-26 00:52:50 +01:00
notifications:
irc:
channels:
- irc.freenode.net#chihaya
2016-02-26 00:52:50 +01:00
use_notice: true
skip_join: true
on_success: always
on_failure: always
email: false