I cannot build my ASP.NET 1 Core 3.1 application in Travis CI and after several unsuccessfull attempts I think it’s time to figure out with the community what’s the problem.
Build: https://travis-ci.org/github/stanislavstoyanov99/CinemaWorld/jobs/686546731
Build config: https://travis-ci.org/github/stanislavstoyanov99/CinemaWorld/jobs/686546731/config
Here’s my repo in GitHub: https://github.com/stanislavstoyanov99/CinemaWorld
I think the problem is that my travis's configuration file is not in the same folder with the solution file, so I put directory path in travis configuration file, but maybe I have some mistakes.
Thanks in advance!
In your travis yml, you are missing a dependency for the dotnet version you want installed:
dotnet: 3.1.202
I think 3.1.4 is the latest, but feel free to try different versions
Edit: I mixed up the SDK version with the runtime. To build, you need the runtime version, which as of 13/05/2020 is 3.1.202