2014-03-05 00:02:44 -06:00
language : go
go :
- tip
2014-03-05 11:03:27 -06:00
# TODO
# linux/386 build tries to do apt's legendary remove all 64-bit libraries and install 32-bit ones instead (else it can't find sys/types.h) so that build is disabled for now
2014-03-05 10:28:15 -06:00
env :
2014-03-05 11:03:27 -06:00
# - GOOS=linux GOARCH=386 CGO_ENABLED=1 CFLAGS=-m32 LDFLAGS=-m32
2014-03-05 10:28:15 -06:00
- GOOS=linux GOARCH=amd64
- GOOS=windows GOARCH=386
- GOOS=windows GOARCH=amd64
2014-03-05 01:00:51 -06:00
before_install :
2014-03-05 10:45:16 -06:00
- sudo apt-get update -qq
2014-03-05 11:38:49 -06:00
- sudo apt-get install -qq libgtk-3-dev # libgtk-3-0:i386 gcc-multilib
2014-03-05 10:28:15 -06:00
- go tool dist install cmd/8a
- go tool dist install cmd/8c
- go tool dist install cmd/8g
- go tool dist install cmd/8l
2014-03-05 11:03:27 -06:00
# - 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
2014-03-05 10:35:24 -06:00
- 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
2014-03-05 11:13:44 -06:00
install :
2014-03-05 11:22:42 -06:00
- go install -v -x ./...