From 65704f47e1c5ab5da171d5b964bc99ff82ab99bc Mon Sep 17 00:00:00 2001 From: Leo Balduf Date: Sun, 21 Jan 2018 18:35:15 +0100 Subject: [PATCH] travis: add chihaya-e2e --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.travis.yml b/.travis.yml index 03aeb7e..ef13a17 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: