Skip to content

Instantly share code, notes, and snippets.

@bolorundurowb
Created April 6, 2017 17:55
Show Gist options
  • Save bolorundurowb/52fb3265891601af3525ce86dd9ec748 to your computer and use it in GitHub Desktop.
Save bolorundurowb/52fb3265891601af3525ce86dd9ec748 to your computer and use it in GitHub Desktop.
A travis configuration for .NET Core 1.1 projects
language: csharp
dist: xenial
sudo: required
mono: none
script:
- chmod +x ./build.sh
- ./build.sh --quiet verify
#!/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