forked from PaulMiami/reCAPTCHA
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
18 lines (15 loc) · 711 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: csharp
sudo: required
dist: trusty
before_install:
- 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.4
- dotnet --info
install:
- dotnet restore
- dotnet build -f netstandard1.6 src/PaulMiami.AspNetCore.Mvc.Recaptcha/PaulMiami.AspNetCore.Mvc.Recaptcha.csproj
script:
- dotnet build sample/TestWebApp/TestWebApp.csproj
- dotnet test test/PaulMiami.AspNetCore.Mvc.Recaptcha.Test/PaulMiami.AspNetCore.Mvc.Recaptcha.Test.csproj