diff options
author | Kenneth Skovhede <kenneth@hexad.dk> | 2017-09-23 15:57:05 +0300 |
---|---|---|
committer | Kenneth Skovhede <kenneth@hexad.dk> | 2017-09-23 15:57:05 +0300 |
commit | 22e05577e294633f995bd163026437973c61ff55 (patch) | |
tree | bf5facced17ef3546da909bf4e359a823fed9bee | |
parent | 2609dcc5dc06572ada968fadde400f656dc641f3 (diff) |
Revert "Updated nunit"
This reverts commit e999f1d77d998cfe6b8fbfceba86543843032b4c.
-rw-r--r-- | .travis.yml | 16 | ||||
-rw-r--r-- | Duplicati/UnitTest/Duplicati.UnitTest.csproj | 2 | ||||
-rw-r--r-- | Duplicati/UnitTest/packages.config | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index b3587df8f..a7a26f3e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: csharp solution: Duplicati.sln install: - nuget restore Duplicati.sln - - nuget install NUnit.Runners -Version 3.8.1 -OutputDirectory testrunner + - nuget install NUnit.Runners -Version 3.5.0 -OutputDirectory testrunner - sudo pip install selenium addons: sauce_connect: @@ -54,25 +54,25 @@ script: - echo "travis_fold:end:download_extract_testdata" # run unit tests - echo "travis_fold:start:unit_tests_border" - - if [[ "$JOB" == "job1" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.8.1/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==Border --workers=1; fi + - if [[ "$JOB" == "job1" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.5.0/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==Border --workers=1; fi - echo "travis_fold:end:unit_tests_border" - echo "travis_fold:start:unit_tests_bulknormal" - - if [[ "$JOB" == "job2" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.8.1/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==BulkNormal --workers=1; fi + - if [[ "$JOB" == "job2" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.5.0/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==BulkNormal --workers=1; fi - echo "travis_fold:end:unit_tests_bulknormal" - echo "travis_fold:start:unit_tests_bulknosize" - - if [[ "$JOB" == "job2" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.8.1/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==BulkNoSize --workers=1; fi + - if [[ "$JOB" == "job2" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.5.0/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==BulkNoSize --workers=1; fi - echo "travis_fold:end:unit_tests_bulknosize" - echo "travis_fold:start:unit_tests_svndata" - - if [[ "$JOB" == "job1" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.8.1/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==SVNData --workers=1; fi + - if [[ "$JOB" == "job1" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.5.0/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==SVNData --workers=1; fi - echo "travis_fold:end:unit_tests_svndata" - echo "travis_fold:start:unit_tests_svndatalong" - - if [[ "$JOB" == "job1" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.8.1/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==SVNDataLong --workers=1; fi + - if [[ "$JOB" == "job1" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.5.0/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==SVNDataLong --workers=1; fi - echo "travis_fold:end:unit_tests_svndatalong" - echo "travis_fold:start:unit_tests_targeted" - - if [[ "$JOB" == "job1" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.8.1/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==Targeted --workers=1; fi + - if [[ "$JOB" == "job1" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.5.0/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==Targeted --workers=1; fi - echo "travis_fold:end:unit_tests_targeted" - echo "travis_fold:start:unit_tests_purge" - - if [[ "$JOB" == "job3" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.8.1/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==Purge --workers=1; fi + - if [[ "$JOB" == "job3" ]]; then mono ./testrunner/NUnit.ConsoleRunner.3.5.0/tools/nunit3-console.exe ./Duplicati/UnitTest/bin/Release/Duplicati.UnitTest.dll --where:cat==Purge --workers=1; fi - echo "travis_fold:end:unit_tests_purge" # start server and run gui tests - mono ./Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release/Duplicati.Server.exe & diff --git a/Duplicati/UnitTest/Duplicati.UnitTest.csproj b/Duplicati/UnitTest/Duplicati.UnitTest.csproj index ac905b5f5..b73d49e40 100644 --- a/Duplicati/UnitTest/Duplicati.UnitTest.csproj +++ b/Duplicati/UnitTest/Duplicati.UnitTest.csproj @@ -31,7 +31,7 @@ <ItemGroup> <Reference Include="System" /> <Reference Include="nunit.framework"> - <HintPath>..\..\packages\NUnit.3.8.1\lib\net45\nunit.framework.dll</HintPath> + <HintPath>..\..\packages\NUnit.3.5.0\lib\net45\nunit.framework.dll</HintPath> </Reference> </ItemGroup> <ItemGroup> diff --git a/Duplicati/UnitTest/packages.config b/Duplicati/UnitTest/packages.config index 63a0b34d3..c108d442f 100644 --- a/Duplicati/UnitTest/packages.config +++ b/Duplicati/UnitTest/packages.config @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="NUnit" version="3.8.1" targetFramework="net45" /> + <package id="NUnit" version="3.5.0" targetFramework="net45" /> </packages>
\ No newline at end of file |