diff options
author | Elmer Thomas <elmer@thinkingserious.com> | 2016-12-06 10:37:57 -0800 |
---|---|---|
committer | Elmer Thomas <elmer@thinkingserious.com> | 2016-12-06 10:37:57 -0800 |
commit | 26b5dec3bf94afa7f36a5425c7790175580293b7 (patch) | |
tree | b2e16405fe9f4fb35c7c4c569afd7a0d75229cc6 | |
parent | 200d368e4a180332ea1a3fea396f0188b8b3426e (diff) | |
download | sendgrid-csharp-26b5dec3bf94afa7f36a5425c7790175580293b7.zip sendgrid-csharp-26b5dec3bf94afa7f36a5425c7790175580293b7.tar.gz sendgrid-csharp-26b5dec3bf94afa7f36a5425c7790175580293b7.tar.bz2 |
Adding .NET Core tests
-rw-r--r-- | .travis.yml | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 43720ab..c6c9804 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,23 @@ language: csharp solution: SendGrid.sln + +matrix: + include: + - dotnet: 1.0.0-preview2-003121 + mono: none + env: DOTNETCORE=1 + - dotnet: 1.0.0-preview2-003131 + mono: none + env: DOTNETCORE=1 + - mono: latest + env: matrix: secure: KJrQ+NfmzlgCSXRyqeAMDGZUG6GO4/+xk1T0wGy1BgVz8seo/fDWL8osWEljB4Sj05sfFj7CM+rociwL6sdVyqCiHbCAM7XuHs58D+4Tlh5pGHL+G1qOl65/pDl0ulq+M7PwDxHPZ60/oyH2a16t5jtD9e4W31y2fXzEbHGLHXg= install: -- nuget restore SendGrid.sln -- nuget install NUnit.Runners -Version 3.2.0 -OutputDirectory testrunner + - nuget restore SendGrid.sln + - nuget install NUnit.Runners -Version 3.2.0 -OutputDirectory testrunner before_script: - mkdir prism/bin @@ -16,8 +27,8 @@ before_script: - nohup prism run -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/master/oai_stoplight.json & script: -- xbuild SendGrid.sln /p:Configuration=Release -- mono ./testrunner/NUnit.ConsoleRunner.3.2.0/tools/nunit3-console.exe UnitTest/bin/Release/UnitTest.dll + - xbuild /p:Configuration=Release SendGrid.sln + - mono ./testrunner/NUnit.Runners.3.2.0/tools/nunit-console.exe ./MyProject.Tests/bin/Release/MyProject.Tests.dll notifications: hipchat: |