diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e030b4e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: go +go: + - 1.6.2 + - 1.5.4 + - 1.4.3 +before_script: + - go vet ./... +install: + # Add Godeps dependencies to GOPATH and PATH + - export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH" + - export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH" diff --git a/main_test.go b/main_test.go new file mode 100644 index 0000000..8c14036 --- /dev/null +++ b/main_test.go @@ -0,0 +1,10 @@ +package main + +import ( + "testing" +) + +// This is just a dummy test function to have a base to start with for Travis +func Test_dummy(t *testing.T) { + t.Log("Dummy test passed") +}