Skip to content

Commit 52071f3

Browse files
committed
Updated travis CI
1 parent 704e4e3 commit 52071f3

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

.travis.yml

+21-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,30 @@ language: csharp
22
solution: "./SharpHash/SharpHash.sln"
33
matrix:
44
include:
5-
- dotnet: 2.0.0
6-
mono: none
7-
env: DOTNETCORE=2 # optional, can be used to take different code paths in your script
5+
- os: windows
6+
- os: linux
7+
dist: trusty
8+
dotnet: 2.0.0
9+
- os: osx
10+
osx_image: xcode11.2
11+
dotnet: 2.0.0
812

13+
branches:
14+
only:
15+
- master
16+
17+
mono: none
18+
19+
env:
20+
global:
21+
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
22+
- DOTNET_CLI_TELEMETRY_OPTOUT=1
23+
24+
before_install:
25+
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install vcbuildtools && PowerShell -Command 'Install-WindowsFeature Net-Framework-Core' ; fi
926

10-
dist: trusty
1127
script:
1228
- cd SharpHash.Tests
1329
- dotnet restore
1430
- dotnet build
15-
- dotnet test
31+
- dotnet test

0 commit comments

Comments
 (0)