Skip to content

Commit 1ab4c97

Browse files
author
Jann Roder
committed
Update travis config
1 parent 9758aff commit 1ab4c97

3 files changed

Lines changed: 9 additions & 21 deletions

File tree

.travis.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,16 @@
11
language: csharp
2-
32
sudo: required
4-
5-
os: linux
6-
7-
dist: trusty
3+
dist: xenial
84

95
branches:
106
except:
117
- /^[0-9]/
128

13-
dotnet: 2.1.4
9+
dotnet: 3.1
1410
mono: none
15-
16-
addons:
17-
apt:
18-
sources:
19-
- sourceline: 'deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main'
20-
key_url: 'https://packages.microsoft.com/keys/microsoft.asc'
21-
packages:
22-
- dotnet-hostfxr-1.0.1
23-
- dotnet-sharedframework-microsoft.netcore.app-1.1.6
11+
12+
install:
13+
- dotnet restore
2414

2515
script:
2616
- (git fetch --unshallow 2>/dev/null || echo "Already full repo.")
@@ -29,4 +19,4 @@ script:
2919
notifications:
3020
on_success: always
3121
on_failure: always
32-
on_start: always
22+
on_start: always

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ These can be found in the [USAGE](USAGE.md) file.
4343
The following platforms are supported:
4444

4545
- .NET Core
46-
- .NET 4.5.1
46+
- .NET 4.6.2
4747

4848
## Installation
4949

@@ -52,7 +52,7 @@ library.
5252

5353
## Building
5454

55-
Currently version `1.0` of the [.NET Core build tools](https://docs.microsoft.com/en-us/dotnet/articles/core/tools/) is required to build the source code.
55+
Currently version `2.0` of the [.NET Core build tools](https://docs.microsoft.com/en-us/dotnet/articles/core/tools/) is required to build the source code.
5656
To build from Visual Studio you'll need VS 2017.
5757

5858
Assuming you have the .NET Core build tools installed, building the library from the command-line just involves:

build.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,11 @@ dotnet clean
2121
echo
2222

2323
echo "Building ..."
24-
dotnet build ./Winton.Extensions.Threading.Actor/Winton.Extensions.Threading.Actor.csproj --configuration Release --framework netstandard1.3
2524
dotnet build ./Winton.Extensions.Threading.Actor/Winton.Extensions.Threading.Actor.csproj --configuration Release --framework netstandard2.0
2625
echo
2726

2827
echo "Testing ..."
29-
dotnet test ./Winton.Extensions.Threading.Actor.Tests.Unit/Winton.Extensions.Threading.Actor.Tests.Unit.csproj --configuration Release --framework netcoreapp2.0
30-
dotnet test ./Winton.Extensions.Threading.Actor.Tests.Unit/Winton.Extensions.Threading.Actor.Tests.Unit.csproj --configuration Release --framework netcoreapp1.1
28+
dotnet test ./Winton.Extensions.Threading.Actor.Tests.Unit/Winton.Extensions.Threading.Actor.Tests.Unit.csproj --configuration Release --framework netcoreapp3.1
3129
echo
3230

3331
if [ "${TRAVIS:-}" != "true" ]; then

0 commit comments

Comments
 (0)