【发布时间】:2015-08-28 00:04:08
【问题描述】:
我正在尝试在 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 的构建结果。
【问题讨论】:
标签: google-app-engine travis-ci