mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-28 10:08:11 -07:00
travis: add chihaya-e2e
This commit is contained in:
+21
@@ -15,6 +15,13 @@ matrix:
|
|||||||
- go vet $(go list ./...)
|
- go vet $(go list ./...)
|
||||||
- diff <(goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(printf "")
|
- 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)
|
- (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
|
# Using HEAD of dependencies
|
||||||
- install:
|
- install:
|
||||||
- go get -t ./...
|
- go get -t ./...
|
||||||
@@ -25,6 +32,13 @@ matrix:
|
|||||||
- go vet $(go list ./...)
|
- go vet $(go list ./...)
|
||||||
- diff <(goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(printf "")
|
- 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)
|
- (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:
|
allow_failures:
|
||||||
# Using HEAD of dependencies
|
# Using HEAD of dependencies
|
||||||
- install:
|
- install:
|
||||||
@@ -36,6 +50,13 @@ matrix:
|
|||||||
- go vet $(go list ./...)
|
- go vet $(go list ./...)
|
||||||
- diff <(goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(printf "")
|
- 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)
|
- (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:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
channels:
|
channels:
|
||||||
|
|||||||
Reference in New Issue
Block a user