Skip to content

Commit c3516e3

Browse files
authored
Drop targets for end-of-life .NET Core versions (#675)
- .NET Core 2.0 end of support was 2018-10-01 - .NET Core 1.1 end of support was 2019-06-27 - .NET Core 1.0 end of support was 2019-06-27
1 parent 2539d3c commit c3516e3

File tree

4 files changed

+2
-17
lines changed

4 files changed

+2
-17
lines changed

.travis.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,13 @@ addons:
1717
- sourceline: 'deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main'
1818
key_url: 'https://packages.microsoft.com/keys/microsoft.asc'
1919
packages:
20-
- dotnet-hostfxr-1.0.1
21-
- dotnet-sharedframework-microsoft.netcore.app-1.0.5
22-
- dotnet-runtime-2.0.9
2320
- dotnet-runtime-2.1
2421

2522
before_install:
2623
- |
2724
if [ "$TRAVIS_OS_NAME" == "osx" ] || [ `uname` == "Darwin" ]; then
2825
# Handle too many files on OS X
2926
ulimit -n 4096
30-
# Install dotnet core 1 sdk
31-
wget --retry-connrefused --waitretry=1 -O /tmp/dn1.pkg 'https://download.microsoft.com/download/B/9/F/B9F1AF57-C14A-4670-9973-CDF47209B5BF/dotnet-dev-osx-x64.1.0.4.pkg'
32-
sudo installer -pkg /tmp/dn1.pkg -target /
33-
# Install dotnet core 2.0 runtime
34-
wget --retry-connrefused --waitretry=1 -O /tmp/dn2.pkg 'https://download.microsoft.com/download/3/a/3/3a3bda26-560d-4d8e-922e-6f6bc4553a84/dotnet-runtime-2.0.9-osx-x64.pkg'
35-
sudo installer -pkg /tmp/dn2.pkg -target /
3627
# Install dotnet core 2.1 runtime
3728
wget --retry-connrefused --waitretry=1 -O /tmp/dn21.pkg 'https://download.visualstudio.microsoft.com/download/pr/9314da31-774c-4d2b-8743-998f2a21f5ab/bc918ca05ab6b650f2991b205c04f623/dotnet-runtime-2.1.13-osx-x64.pkg'
3829
sudo installer -pkg /tmp/dn21.pkg -target /
@@ -55,8 +46,6 @@ script:
5546
exit 1
5647
fi
5748
- ./build.sh $CONFIGURATION
58-
- dotnet exec MoreLinq.Test/bin/$CONFIGURATION/netcoreapp1.0/MoreLinq.Test.dll
59-
- dotnet exec MoreLinq.Test/bin/$CONFIGURATION/netcoreapp2.0/MoreLinq.Test.dll
6049
- dotnet exec MoreLinq.Test/bin/$CONFIGURATION/netcoreapp2.1/MoreLinq.Test.dll
6150
- dotnet exec MoreLinq.Test/bin/$CONFIGURATION/netcoreapp3.0/MoreLinq.Test.dll
6251
- mono MoreLinq.Test/bin/$CONFIGURATION/net451/MoreLinq.Test.exe

MoreLinq.Test/MoreLinq.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<AssemblyTitle>MoreLinq.Test</AssemblyTitle>
5-
<TargetFrameworks>netcoreapp1.0;netcoreapp2.0;netcoreapp2.1;netcoreapp3.0;net451</TargetFrameworks>
5+
<TargetFrameworks>netcoreapp2.1;netcoreapp3.0;net451</TargetFrameworks>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
<DebugType>portable</DebugType>
88
<AssemblyName>MoreLinq.Test</AssemblyName>

test.cmd

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ goto :EOF
77
:main
88
setlocal
99
call build ^
10-
&& call :test netcoreapp1.0 Debug ^
11-
&& call :test netcoreapp1.0 Release ^
12-
&& call :test netcoreapp2.0 Debug ^
13-
&& call :test netcoreapp2.0 Release ^
1410
&& call :test netcoreapp2.1 Debug ^
1511
&& call :test netcoreapp2.1 Release ^
1612
&& call :test netcoreapp3.0 Debug ^

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e
33
cd "$(dirname "$0")"
44
./build.sh
5-
for v in 1.0 2.0 2.1 3.0; do
5+
for v in 2.1 3.0; do
66
for c in Debug Release; do
77
dotnet exec MoreLinq.Test/bin/$c/netcoreapp$v/MoreLinq.Test.dll
88
done

0 commit comments

Comments
 (0)