mirror of https://github.com/statping/statping
upgrades - plugins
parent
e37f647093
commit
801637254f
|
@ -54,6 +54,8 @@ before_script:
|
||||||
- go get github.com/GeertJohan/go.rice
|
- go get github.com/GeertJohan/go.rice
|
||||||
- go get github.com/GeertJohan/go.rice/rice
|
- go get github.com/GeertJohan/go.rice/rice
|
||||||
- go get
|
- go get
|
||||||
|
- go install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- go test -v
|
||||||
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then /bin/bash -c ./build.sh; fi
|
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then /bin/bash -c ./build.sh; fi
|
|
@ -38,7 +38,7 @@ func TestSetConfig(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestRun(t *testing.T) {
|
func TestRun(t *testing.T) {
|
||||||
mainProcess()
|
go mainProcess()
|
||||||
time.Sleep(15 * time.Second)
|
time.Sleep(15 * time.Second)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue