Golang.org/x/sys

hello, I got this error: cannot find package “golang.org/x/sys/windows”, tried installing with:

go get -u golang.org/x/sys

but

windows : golang.org/x/sys: no Go files in C:\Users\travis\gopath\src\golang.org\x\sys

linux: package golang.org/x/sys: no Go files in C:\Users\travis\gopath\src\golang.org\x\sys

thanks!

solved this with the os name environment variable as explained here: https://docs.travis-ci.com/user/multi-os/#example-multi-os-build-matrix