Skip to content

Commit 690ea21

Browse files
committed
remove net451 dependency test proj
1 parent 7418787 commit 690ea21

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

JsonApiDotNetCoreTests/project.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.0-*",
2+
"version": "1.0.0-alpha",
33
"testRunner": "xunit",
44
"dependencies": {
55
"JsonApiDotNetCore": "0.1.0",
@@ -8,7 +8,6 @@
88
"moq": "4.6.38-alpha"
99
},
1010
"frameworks": {
11-
"net451": {},
1211
"netcoreapp1.0": {
1312
"imports": [
1413
"dotnet5.6",
@@ -33,7 +32,7 @@
3332
"defaultNamespace": "JsonApiDotNetCoreTests"
3433
},
3534
"tools": {
36-
"Microsoft.DotNet.Watcher.Tools": {
35+
"Microsoft.DotNet.Watcher.Tools": {
3736
"version": "1.0.0-*",
3837
"imports": "portable-net451+win8"
3938
}

build.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,8 @@ fi
1111

1212
dotnet restore
1313

14-
# Ideally we would use the 'dotnet test' command to test netcoreapp and net451 so restrict for now
15-
# but this currently doesn't work due to https://github.com/dotnet/cli/issues/3073 so restrict to netcoreapp
16-
1714
dotnet test ./JsonApiDotNetCoreTests -c Release -f netcoreapp1.0
1815

19-
# Instead, run directly with mono for the full .net version
20-
dotnet build ./JsonApiDotNetCoreTests -c Release -f net451
21-
22-
mono \
23-
./JsonApiDotNetCoreTests/bin/Release/net451/*/dotnet-test-xunit.exe \
24-
./JsonApiDotNetCoreTests/bin/Release/net451/*/JsonApiDotNetCoreTests.dll
25-
2616
revision=${TRAVIS_JOB_ID:=1}
2717
revision=$(printf "%04d" $revision)
2818

0 commit comments

Comments
 (0)