forked from AuthorizeNet/sdk-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
20 lines (16 loc) · 836 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language:
csharp
install:
- sudo apt-get install nunit-console
before_script:
- git submodule update --remote --recursive
script:
- xbuild ./Authorize.NET/AuthorizeNET.csproj
- xbuild ./AuthorizeNETtest/AuthorizeNETtest.csproj
# make mono happy by copying the config file with project name
- cp AuthorizeNETtest/App.config AuthorizeNETtest/AuthorizeNETtest.config
- nunit-console ./AuthorizeNETtest/AuthorizeNETtest.csproj -run=AuthorizeNet.Api.Controllers.MockTest -exclude Integration,NotWorkingOnMono
- cp ./Authorize.NET/bin/Debug/AuthorizeNet.dll ./sample-code-csharp/
- xbuild ./sample-code-csharp/SampleCode.csproj
- xbuild ./sample-code-csharp/SampleCodeTest/SampleCodeTest.csproj
- nunit-console ./sample-code-csharp/SampleCodeTest/SampleCodeTest.csproj -run=SampleCodeTest