diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..103bb3e17 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: Go + +go: + - 1.3 + - release + +install: + - go get -v -t ./... + +script: + - gofmt -l *.go */*.go */*/*.go + - test -z "$(gofmt -l *.go */*.go */*/*.go)" + - go build ./... + - go test ./... + - ./testsuite.sh diff --git a/wercker.yml b/wercker.yml deleted file mode 100644 index 7c17214b7..000000000 --- a/wercker.yml +++ /dev/null @@ -1,41 +0,0 @@ -box: wercker/golang -# Build definition -build: - # The steps that will be executed on build - steps: - # Sets the go workspace and places you package - # at the right place in the workspace tree - - setup-go-workspace - - # Test go formatting - - script: - name: gofmt - code: | - gofmt -l *.go */*.go */*/*.go - test -z "$(gofmt -l *.go */*.go */*/*.go)" - - # Gets the dependencies - - script: - name: go get - code: | - cd $WERCKER_SOURCE_DIR - go version - go get -v -t ./... - - # Build the project - - script: - name: go build - code: | - go build ./... - - # Test the project - - script: - name: go test - code: | - go test ./... - - # run integration tests - - script: - name: integration test - code: | - ./testsuite.sh