我已在travis-ci上将Travic-CI添加到我的github项目中..travis.yml文件如下所示:
I have added Travic-CI on travis-ci to my github project. The .travis.yml file looks like this:
language: csharp solution: MyProject.sln所以,当我去 travis-ci/username/MyProject/builds/somenumber ,然后将构建显示为通过.我还可以看到日志文件,但无处看不到生成的文件(.exe).我是否需要向.travis.yml中添加任何内容,以便它在travis-ci的项目页面上以工件的形式显示/发布我的.exe?还是我必须将开关拨到其他地方?还是不认为特拉维斯这样做?
So, when I go to travis-ci/username/MyProject/builds/somenumber , then it shows the build as passing. I can also see the log-file, but I can nowhere see the the files generated (the .exe). Do I have to add anything to .travis.yml so it displays/publishes my .exe as artifact on my project's page on travis-ci ? Or do I have to flip a switch somewhere else ? Or is Travis not thought to do this ?
注意: 在travis-ci上显示可执行文件(这样我就可以从github链接到它),而不是像发布到github那样自动地将其发布,尽管那也可以.
Note: Show the executable on travis-ci (so I can link to it from github), not publishing it automagically as release to github, althought that would be fine, too.
推荐答案默认情况下,构建工件随计算机一起丢弃.重要的是构建和测试结果.如果要保留部分或全部构建工件,请查看 deploy 选项: docs.travis-ci/user/deployment/
By default, the build artifacts are thrown away with the machine. What counts is the build and test result. If you want to retain some or all build artifacts, have a look at the deploy options: docs.travis-ci/user/deployment/
更多推荐
如何获得Travis
发布评论