tracker/.travis.yml

69 lines
2.3 KiB
YAML
Raw Normal View History

2016-02-26 00:52:50 +01:00
language: go
go:
- 1.9.x
2016-02-26 00:52:50 +01:00
sudo: false
matrix:
include:
# Using vendored dependencies
- install:
- go get -u github.com/golang/dep/...
- go get -u github.com/golang/lint/...
- go get -u golang.org/x/tools/cmd/...
script:
- dep ensure
- go test -v $(go list ./...)
- go vet $(go list ./...)
- diff <(goimports -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=$!
# we move the installation here so chihaya has enough time to start up
- go install github.com/chihaya/chihaya/cmd/chihaya-e2e
- chihaya-e2e
- kill $pid
# Using HEAD of dependencies
- install:
- go get -t ./...
- go get -u github.com/golang/lint/...
- go get -u golang.org/x/tools/cmd/...
script:
- go test -v $(go list ./...)
- go vet $(go list ./...)
- diff <(goimports -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=$!
# we move the installation here so chihaya has enough time to start up
- go install github.com/chihaya/chihaya/cmd/chihaya-e2e
- chihaya-e2e
- kill $pid
allow_failures:
# Using HEAD of dependencies
- install:
- go get -t ./...
- go get -u github.com/golang/lint/...
- go get -u golang.org/x/tools/cmd/...
script:
- go test -v $(go list ./...)
- go vet $(go list ./...)
- diff <(goimports -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=$!
# we move the installation here so chihaya has enough time to start up
- go install github.com/chihaya/chihaya/cmd/chihaya-e2e
- chihaya-e2e
- 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