unknwon/com

Jobs failing on Travis-CI for Intel

kishorkunal-raj opened this issue · 1 comments

Hi All,
I am running jobs on travis-ci and found that jobs are failing for go versions. Below are the logs

$ git clone --depth=50 --branch=master https://github.com/kishorkunal-raj/com.git kishorkunal-raj/com
$ travis_export_go 1.3.x github.com/kishorkunal-raj/com
0.01s2.43s$ travis_setup_go
go version go1.3.3 linux/amd64
$ export GOPATH="/home/travis/gopath"
$ export PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.3.3.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.3/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin"
$ export GO111MODULE="auto"
$ gimme version
v1.5.4
$ go version
go version go1.3.3 linux/amd64
go.env
$ go env
install
2.87s$ go get -v -t
0.40s$ travis_script_go -v
# github.com/smartystreets/assertions
../../smartystreets/assertions/panic.go:81: undefined: errors.Is
../../smartystreets/assertions/panic.go:116: undefined: errors.Is
../../smartystreets/assertions/type.go:146: undefined: errors.Is
FAIL	github.com/kishorkunal-raj/com [build failed]
The command "go test -v ./..." exited with 2.

Done. Your build exited with 1.

Please help me out to fix it.

Hi, I think you need at least Go 1.13 for running tests. errors.Is was added in 1.13.