Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uptravis: Add compile check for all supported platforms #1070
Conversation
Thanks! |
ce66897
to
c02760a
c02760a
to
972c3aa
I have added
We should ignore |
At least now we know that it works |
Checking return code of Found this implementation in this comment. Updated test. |
GOOS=$(echo ${dist} | cut -d "/" -f 1) | ||
GOARCH=$(echo ${dist} | cut -d "/" -f 2) | ||
set +e | ||
echo "Checking compile support for ${GOOS}/${GOARCH}" |
julienschmidt
Mar 11, 2020
Member
This seems unnecessary. We already get 1 line of output for every GOOS/GOARCH pair. Either that it is skipped or that we're attempting a build.
This seems unnecessary. We already get 1 line of output for every GOOS/GOARCH pair. Either that it is skipped or that we're attempting a build.
rayanimesh
Mar 11, 2020
Author
Contributor
This has been updated to print one statement per platform.
This has been updated to print one statement per platform.
256fbff
to
96d22ca
`linux/riscv64` platform was added in `go 1.11` but compile was not supported. Therefore buidling with `GOOS=linux GOARCH=riscv64` for `go 1.11` throws error. This check handles above case.
96d22ca
to
e2b4b5b
LGTM. Thanks! |
travis: Add compile check for all supported platforms (go-sql-driver#1070)
…1070) Implements a Travis CI task that checks if the driver compiles on all platforms supported by Go. Fixes go-sql-driver#1050
…1070) Implements a Travis CI task that checks if the driver compiles on all platforms supported by Go. Fixes go-sql-driver#1050
Description
Implements a Travis CI task that checks if the driver compiles on all platforms supported by Go.
Fixes #1050
Checklist