travis: test cross platform compile
trying to allow cross-platform to fail for now, using env variables as
seen in
@@ -30,6 +30,8 @@ before_script:
- export PATH=$HOME/gopath/bin:$PATH
- export LD_LIBRARY_PATH=/usr/local/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
+env:
+
jobs:
include:
- stage: Build and Verify
@@ -47,6 +49,10 @@ jobs:
- sudo "PATH=$PATH" make testunit
- make
go: "1.10.x"
+ - script:
+ - make local-cross
+ go: "1.10.x"
+ env: CROSS_PLATFORM=true
- script:
- sudo "PATH=$PATH" make testunit
- make
@@ -66,6 +72,7 @@ jobs:
allow_failures:
- os: osx
- go: tip
+ - env: CROSS_PLATFORM=true
notifications:
irc: "chat.freenode.net#cri-o"
