From 835a1ac3a623b5b163fbb8f8700ba1994d83a97c Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 16 Jul 2017 17:15:00 +0200 Subject: [PATCH] Update travis for crossplatform --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3b8b2bfd..dd14e2df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,15 @@ go: - 1.7.x - 1.8.x - tip + +# we have everything vendored install: true +env: + - GOOS=linux GOARCH=amd64 + - GOOS=windows GOARCH=amd64 + - GOOS=linux GOARCH=arm + matrix: # It's ok if our code fails on unstable development versions of Go. allow_failures: @@ -25,7 +32,6 @@ before_script: # Anything in before_script: that returns a nonzero exit code will # flunk the build and immediately stop. It's sorta like having # set -e enabled in bash. -script: script: - test -z $(gofmt -s -l $GO_FILES) # Fail if a .go file hasn't been formatted with gofmt #- go test -v -race $PKGS # Run all the tests with the race detector enabled