What's the best travis-ci configuration for golang?

blov · · 484 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>And also, how do I import dependencies? Glide doesn&#39;t seem to work. Do you maybe have any clue how to generate a report and send it to codecov too?</p> <hr/>**评论:**<br/><br/>samuellampa: <pre><p>Have you tried CircleCI? It works (for Go) even without a configuration file, by auto-detecting things.</p></pre>sh41: <pre><p>This is the one I&#39;ve iterated to over the years.</p> <p><a href="https://github.com/shurcooL/githubql/blob/e7e57ebcc99dfeeb1c7c82642b47b569a14a6499/.travis.yml#L1-L16" rel="nofollow">https://github.com/shurcooL/githubql/blob/e7e57ebcc99dfeeb1c7c82642b47b569a14a6499/.travis.yml#L1-L16</a></p></pre>ytklx: <pre><p>Glide works OK, but you need to install it from PPA. You can have a look at this Travis CI configuration, glide + goveralls + docker: <a href="https://github.com/pilosa/go-pilosa/blob/master/.travis.yml" rel="nofollow">https://github.com/pilosa/go-pilosa/blob/master/.travis.yml</a></p></pre>mattn: <pre><p>OT: I always enable travis from shell with <a href="https://github.com/mattn/goravis" rel="nofollow">https://github.com/mattn/goravis</a></p></pre>BlueDragonX: <pre><p>This is beautiful. I&#39;m going to borrow this.</p></pre>itachi_amaterasu: <pre><p>You can see the setup I&#39;ve done here - <a href="https://github.com/agnivade/funnel/blob/master/.travis.yml" rel="nofollow">https://github.com/agnivade/funnel/blob/master/.travis.yml</a></p></pre>n1ghtm4n: <pre><p>Those travis configs are okaaaay, but this one is better ;) <a href="https://gist.github.com/y0ssar1an/df2dab474520c4086926f672c52db139" rel="nofollow">https://gist.github.com/y0ssar1an/df2dab474520c4086926f672c52db139</a></p></pre>

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

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