我试图在Travis ci上编译这个项目raygun4goGAE。
但是我得到找不到包" appengine"在任何.... 它看起来像构建无法找到appengine依赖项?
我使用这个问题compile-app-engine-application-in-travis作为参考如何创建travis yaml文件,但我想我错过了什么。
这是yaml文件:
language: go
go:
- 1.2
- 1.3
- 1.4
- tip
env:
- GOARCH=386
- GOARCH=amd64
matrix:
allow_failures:
- go: tip
install:
- export FILE=$(curl https://storage.googleapis.com/appengine-sdks/ | grep -o 'featured/go_appengine_sdk_linux_amd64-[^\<]*' | head -1)
- curl -O https://storage.googleapis.com/appengine-sdks/featured/$FILE
- unzip -q $FILE
- go get github.com/smartystreets/goconvey
- go get code.google.com/p/go-uuid/uuid
- go get github.com/kaeuferportal/stack2struct
- go get golang.org/x/net/context
- go get google.golang.org/appengine/urlfetch
- go get google.golang.org/appengine
script:
- ./go_appengine/goapp test ./tests;
- ./go_appengine/goapp build ./raygun4goGAE;
您可以看到here Travis构建结果。
答案 0 :(得分:0)
您是否尝试导入google.golang.org/appengine