diff --git a/.travis.yml b/.travis.yml index 1fa7fd82..14ce0020 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,6 +54,8 @@ before_script: - go get github.com/GeertJohan/go.rice - go get github.com/GeertJohan/go.rice/rice - go get + - go install script: + - go test -v - if [[ "$TRAVIS_BRANCH" == "master" ]]; then /bin/bash -c ./build.sh; fi \ No newline at end of file diff --git a/main_test.go b/main_test.go index 6943651e..4164827e 100644 --- a/main_test.go +++ b/main_test.go @@ -38,7 +38,7 @@ func TestSetConfig(t *testing.T) { } func TestRun(t *testing.T) { - mainProcess() + go mainProcess() time.Sleep(15 * time.Second) }