Created
April 6, 2017 17:55
-
-
Save bolorundurowb/52fb3265891601af3525ce86dd9ec748 to your computer and use it in GitHub Desktop.
A travis configuration for .NET Core 1.1 projects
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 | |
dist: xenial | |
sudo: required | |
mono: none | |
script: | |
- chmod +x ./build.sh | |
- ./build.sh --quiet verify |
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
#!/usr/bin/env bash | |
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list' | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893 | |
sudo apt-get update | |
sudo apt-get install dotnet-dev-1.0.1 | |
dotnet restore && dotnet build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment