Skip to content

Commit

Permalink
chore: use build scripts for CI. Run unit tests in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
codito committed Nov 9, 2018
1 parent ee1c215 commit f74d26a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .appveyor.yml
Expand Up @@ -6,6 +6,7 @@ clone_depth: 1
build_script:
- cmd: dotnet pack -p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack -c Release -p:PackageVersion=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet test -p:PackageVersion=%APPVEYOR_BUILD_VERSION% test/NUnit.Xml.TestLogger.UnitTests/NUnit.Xml.TestLogger.UnitTests.csproj
- cmd: dotnet test -p:PackageVersion=%APPVEYOR_BUILD_VERSION% test/NUnit.Xml.TestLogger.AcceptanceTests/NUnit.Xml.TestLogger.AcceptanceTests.csproj

test: off
Expand Down
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -8,5 +8,4 @@ matrix:
solution: nunit.testlogger.sln

script:
- dotnet pack
- dotnet test test/NUnit.Xml.TestLogger.AcceptanceTests/NUnit.Xml.TestLogger.AcceptanceTests.csproj
- ./build.sh
7 changes: 7 additions & 0 deletions build.ps1
@@ -0,0 +1,7 @@
dotnet pack
if ($?) {
dotnet test test/NUnit.Xml.TestLogger.UnitTests/NUnit.Xml.TestLogger.UnitTests.csproj
}
if ($?) {
dotnet test test/NUnit.Xml.TestLogger.AcceptanceTests/NUnit.Xml.TestLogger.AcceptanceTests.csproj
}

0 comments on commit f74d26a

Please sign in to comment.