Whoops, looks like Travis.cl hates { cmd; } in its before_install: block; also forgot the cgo flags for linux/386.