summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-05 11:28:15 -0500
committerPietro Gagliardi <[email protected]>2014-03-05 11:28:15 -0500
commit6d5d70747cfc6055c0607456fb17063fcc7b1ead (patch)
treed4f9819cff21473447f3c3f1677da0d0c32789f0
parentbd87c9d6cb3b2c7d0836767ba774df2df5f760e4 (diff)
Configured the Travis.cl configuration to cross-compile Windows and Linux for both 386 and amd64.
-rw-r--r--.travis.yml15
1 files changed, 14 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 7286df5..4785239 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,19 @@ language: go
go:
- tip
+env:
+ - GOOS=linux GOARCH=386
+ - GOOS=linux GOARCH=amd64
+ - GOOS=windows GOARCH=386
+ - GOOS=windows GOARCH=amd64
+
before_install:
+ - go tool dist install cmd/8a
+ - go tool dist install cmd/8c
+ - go tool dist install cmd/8g
+ - go tool dist install cmd/8l
+ - GOOS=linux GOARCH=386 CGO_ENABLED=1 CFLAGS=-m32 LDFLAGS=-m32 { go tool dist install pkg/runtime && go install std; }
+ - GOOS=windows GOARCH=386 { go tool dist install pkg/runtime && go install std; }
+ - GOOS=windows GOARCH=amd64 { go tool dist install pkg/runtime && go install std; }
- sudo apt-get update -qq
- - sudo apt-get install -qq libgtk-3-dev
+ - sudo apt-get install -qq libgtk-3-dev libgtk-3-0:i386