Skip to content

Commit f8b17c9

Browse files
committed
remove temporarily test for keystorage provider because it's only a windows solution so travis ran into a false test and clean the travis.yml file
1 parent 8577dac commit f8b17c9

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ language: csharp
22
solution: csharp_cryptoexamples.sln
33
install:
44
- dotnet restore
5-
# - nuget install xunit.runners -Version 2.0.0 -OutputDirectory testrunner
65
matrix:
76
include:
87
- dotnet: 2.1
@@ -13,8 +12,5 @@ addons:
1312
organization: "kmindi-github" # the key of the org you chose at step #3
1413
script:
1514
- dotnet build csharp_cryptoexamples.sln
16-
- sonar-scanner
1715
- dotnet test /home/travis/build/cryptoexamples/csharp-cryptoexamples/csharp_cryptoexamplesTest/csharp_cryptoexamplesTest.csproj
18-
19-
# - xbuild /p:Configuration=Release csharp_cryptoexamples.sln
20-
# - dotnet ./testrunner/xunit.runners.2.0.0/tools/xunit.console.clr4.exe ./csharp-cryptoexamplesTest/bin/Release/csharp_cryptoexamplesTest.dll
16+
- sonar-scanner

csharp_cryptoexamplesTest/csharp_cryptoexamplesTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void StringEncryptionKeyBasedTest()
6262
Assert.Equal("They are the same: True", ExampleStringEncryptionKeyBasedInOneMethod.LOGGER.ToString());
6363
}
6464

65-
[Fact]
65+
/*[Fact]
6666
public void KeyStorageProviderTest()
6767
{
6868
String ContainerName = "MyContainer";
@@ -92,6 +92,6 @@ public void KeyStorageProviderTest()
9292
decryptedString = Encoding.UTF8.GetString(rsa2.Decrypt(encryptedData, false));
9393
9494
Assert.Equal(decryptedString, plainText2);
95-
}
95+
}*/
9696
}
9797
}

0 commit comments

Comments
 (0)