need to set GOROOT
MODIFY
.travis.yml
.travis.yml
@@ -4,8 +4,8 @@ rvm:
before_script:
- sudo rm -rf /usr/local/go
- curl -s https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz | sudo tar xzCf /usr/local -
+ - export GOROOT=/usr/local/go
- export PATH=/usr/local/go/bin:$PATH
- - env
script: "make && bundle exec rake"
services:
- redis-server

need to set GOROOT