From c368f9dcc048ddea7778314c1fa11d874442cad6 Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Fri, 22 Apr 2016 10:52:07 +0200 Subject: [PATCH] Build for multiple targets. --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index eab9d557..0f7ab41a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,12 @@ go: - 1.6 script: - docker-compose run --rm loraserver make test -- make package +- GOOS=linux GOARCH=amd64 make package +- GOOS=linux GOARCH=386 make package +- GOOS=linux GOARCH=arm make package +- GOOS=darwin GOARCH=amd64 make package +- GOOS=windows BINEXT=.exe GOARCH=386 make package +- GOOS=windows BINEXT=.exe GOARCH=amd64 make package services: - docker deploy: