diff --git a/.travis.yml b/.travis.yml index 9f3a728..295f91e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,8 @@ install: - go get -v github.com/Masterminds/glide - cd $GOPATH/src/github.com/Masterminds/glide && go install && cd - - glide install + - go get github.com/onsi/gomega + - go get github.com/onsi/ginkgo/ginkgo script: - - go test + - ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --trace --race --compilers=2 diff --git a/sisyphus_suite_test.go b/sisyphus_suite_test.go new file mode 100644 index 0000000..37a5d03 --- /dev/null +++ b/sisyphus_suite_test.go @@ -0,0 +1,13 @@ +package main_test + +import ( + . "github.com/onsi/ginkgo" + . "github.com/onsi/gomega" + + "testing" +) + +func TestSisyphus(t *testing.T) { + RegisterFailHandler(Fail) + RunSpecs(t, "Sisyphus Suite") +}