From fea3d16e2c64d0fcc40a3e56268129a6da2d6244 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 5 Mar 2014 11:35:24 -0500 Subject: [PATCH] Whoops, looks like Travis.cl hates { cmd; } in its before_install: block; also forgot the cgo flags for linux/386. --- .travis.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4785239..4135110 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ go: - tip env: - - GOOS=linux GOARCH=386 + - GOOS=linux GOARCH=386 CGO_ENABLED=1 CFLAGS=-m32 LDFLAGS=-m32 - GOOS=linux GOARCH=amd64 - GOOS=windows GOARCH=386 - GOOS=windows GOARCH=amd64 @@ -14,8 +14,11 @@ before_install: - 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; } + - GOOS=linux GOARCH=386 CGO_ENABLED=1 CFLAGS=-m32 LDFLAGS=-m32 go tool dist install pkg/runtime + - GOOS=linux GOARCH=386 CGO_ENABLED=1 CFLAGS=-m32 LDFLAGS=-m32 go install std + - GOOS=windows GOARCH=386 go tool dist install pkg/runtime + - GOOS=windows GOARCH=386 go install std + - GOOS=windows GOARCH=amd64 go tool dist install pkg/runtime + - GOOS=windows GOARCH=amd64 go install std - sudo apt-get update -qq - sudo apt-get install -qq libgtk-3-dev libgtk-3-0:i386