add full cross compilation in travis (#963)

* add full cross compilation in travis

* reduce the travis build matrix

* disable cross build for plan9 and nacl
This commit is contained in:
David Bariod
2019-05-18 10:27:12 +02:00
committed by GitHub
parent f0375eb5b5
commit f2849a8fb2
3 changed files with 25 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
if [[ "$TRAVIS_GO_VERSION" =~ ^1.\12\. ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
/tmp/gox/gox -build-lib -all -os '!plan9 !nacl'
fi