diff --git a/.travis.yml b/.travis.yml index c6dab165..d91b430e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,23 @@ language: csharp -solution: src/SparkPost.sln -before_install: - - sudo apt-get install nunit-console -before_script: - - nuget restore src/SparkPost.sln -script: - - xbuild /p:Configuration=Release src/SparkPost.sln - - nunit-console /home/travis/build/darrencauthon/csharp-sparkpost/src/SparkPost.Tests/bin/Release/SparkPost.Tests.dll + +matrix: + include: + - mono: none + dotnet: 1.0.0-preview2-1-003177 + env: DOTNETCORE=1 + dist: trusty + solution: src/SparkPost.Dotnet.sln + sudo: required + script: + - dotnet restore src/SparkPost.NetStandard + - dotnet build src/SparkPost.NetStandard + + - mono: latest + solution: src/SparkPost.sln + before_install: + - sudo apt-get install nunit-console + before_script: + - nuget restore src/SparkPost.sln + script: + - xbuild /p:Configuration=ReleaseNet45 src/SparkPost.sln + - nunit-console src/SparkPost.Tests/bin/ReleaseNet45/SparkPost.Tests.dll diff --git a/docker/readme.md b/docker/readme.md index 9a0a62a7..99d9491c 100644 --- a/docker/readme.md +++ b/docker/readme.md @@ -1,17 +1,17 @@ -## Build & Deploy via Docker & Nuget - -This docker container will pull the latest version of this library, create a nuget package, and deploy it to Nuget. - -The only thing is needs is a valid Nuget API key, from someone that has rights to publish the package to Nuget. - -``` -cd docker -docker build . # this will produce a hash key, say 12345678 -docker run -e "APIKEY=your_nuget_key_here" 12345678 -``` - -This container has been registered on Docker Hub, and can be run like so: - -``` -docker run -e "APIKEY=your_nuget_key_here" darrencauthon/csharp-sparkpost -``` +## Build & Deploy via Docker & Nuget + +This docker container will pull the latest version of this library, create a nuget package, and deploy it to Nuget. + +The only thing is needs is a valid Nuget API key, from someone that has rights to publish the package to Nuget. + +``` +cd docker +docker build . # this will produce a hash key, say 12345678 +docker run -e "APIKEY=your_nuget_key_here" 12345678 +``` + +This container has been registered on Docker Hub, and can be run like so: + +``` +docker run -e "APIKEY=your_nuget_key_here" darrencauthon/csharp-sparkpost +``` diff --git a/src/SparkPost.Acceptance/SparkPost.Acceptance.csproj b/src/SparkPost.Acceptance/SparkPost.Acceptance.csproj index 84bebd8e..1e104e33 100644 --- a/src/SparkPost.Acceptance/SparkPost.Acceptance.csproj +++ b/src/SparkPost.Acceptance/SparkPost.Acceptance.csproj @@ -29,6 +29,15 @@ prompt 4 + + bin\ReleaseNet45\ + TRACE + true + pdbonly + AnyCPU + prompt + MinimumRecommendedRules.ruleset + ..\packages\NUnit.2.6.4\lib\nunit.framework.dll @@ -121,6 +130,9 @@ Always + + +