Last active
November 2, 2016 22:53
-
-
Save olivif/4da1f73757095cd49eb234de4bdbdf6e to your computer and use it in GitHub Desktop.
Sample travis.yml file for building and testing a dotnet core app.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: csharp | |
solution: .\StarterProject\StarterProject.sln | |
dist: trusty | |
sudo: required | |
mono: none | |
dotnet: 1.0.0-preview2-003131 | |
script: | |
- dotnet restore | |
- pushd StarterProject/src/StarterProject.Web.Api && dotnet pack -c Release && popd | |
- pushd StarterProject/src/StarterProject.Web.Api.UnitTests && dotnet test && popd | |
- pushd StarterProject/src/StarterProject.Web.Api.IntegrationTests && dotnet test && popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment