ravis-ci appengine fail build

blov · · 705 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi, Im trying to build my project but it failed because dependencies are missing...</p> <p>this is my travis file <a href="https://github.com/miko-code/raygun4goGAE/blob/master/.travis.yml" rel="nofollow">travis file </a> and this is the build output <a href="https://travis-ci.org/miko-code/raygun4goGAE/jobs/76512264" rel="nofollow">travis </a></p> <p>What im missing here ?</p> <hr/>**评论:**<br/><br/>TheMerovius: <pre><p>Grep for &#39;cannot find package &#34;(.*)&#34;&#39; and add &#34;go get \1&#34; to your travis file. i.e. the travis output tells you, what packages are missing (e.g. golang.org/x/net/context) and you are indeed not installing them in your travis file.</p></pre>TheMerovius: <pre><p>A second (and unrelated) problem is</p> <blockquote> <p>found packages rand (cgo1.go) and rand2 (cgo2.go) in go_appengine/goroot/doc/progs</p> </blockquote> <p>which seems to indicate, that the directory go_appengine/goroot/doc/progs contained both a file with a &#34;package rand&#34; and a file with a &#34;package rand2&#34; at the top. This is probably related to the fact, that it is only a documentation directory and not supposed to be build. You should probably replace your &#34;go test ./...&#34; with a &#34;go test github.com/miko-code/raygun4goGAE/...&#34; to test only your code.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

705 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传