问题
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