forked from docusign/docusign-esign-csharp-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
20 lines (20 loc) · 857 Bytes
/
Copy path.travis.yml
File metadata and controls
20 lines (20 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
branches:
only:
- master
language: csharp
solution: test/SdkTests/SdkTests.sln
mono: latest
sudo: required
dist: trusty
before_install:
- cd test/SdkTests
- mkdir -p .nuget
- wget -O .nuget/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
install:
- mono .nuget/nuget.exe restore SdkTests.sln -MSBuildVersion 14.0 -Verbosity detailed
- mono .nuget/nuget.exe install NUnit -Version 2.6.4 -OutputDirectory packages
- mkdir -p bin/Release && cp packages/NUnit.2.6.4/lib/nunit.framework.dll bin/Release/nunit.framework.dll
- mono .nuget/nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
- xbuild SdkTests.sln /p:Configuration=Release /p:TargetFrameworkVersion=v4.5 /p:DefineConstants="NUNIT"
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./bin/Release/SdkTests.dll