Travis unable to find csharp solution

余生颓废 提交于 2020-01-04 06:50:21

问题


In reference to this build and my ./.travis.yml file. Im unable to build my project using Travis CI. I get the following error:

No solution or script defined, exiting

Going by csharp.rb:88, it suggests the solution isnt set in my yml file, but it quite clearly is. Any pointers would be greatly appreciated.

language: csharp
solution: OrderedJobs.sln
before_install:
  - sudo apt-get install nunit-console
before_script:
  - nuget restore OrderedJobs.sln
after_script:
  - nunit-console OrderedJobs.Tests/bin/Release/OrderedJobs.Tests.dll

回答1:


It turned out this was a file format issue. For anyone who comes across this issue. Please make sure your .travis.yml file is saved as UTF-8. Further details can be found here.



来源:https://stackoverflow.com/questions/35689942/travis-unable-to-find-csharp-solution

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!