travis: add chihaya-e2e

This commit is contained in:
Leo Balduf 2018-01-21 18:35:15 +01:00
parent 1a39a495d7
commit 65704f47e1

View file

@ -15,6 +15,13 @@ matrix:
- 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)
- 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 ./...
@ -25,6 +32,13 @@ matrix:
- 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)
- 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:
@ -36,6 +50,13 @@ matrix:
- 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)
- 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
notifications:
irc:
channels: