<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 'cannot find package "(.*)"' and add "go get \1" 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 "package rand" and a file with a "package rand2" 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 "go test ./..." with a "go test github.com/miko-code/raygun4goGAE/..." to test only your code.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传