forked from nunit/nunit-console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (27 loc) · 1.23 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: csharp
sudo: required
dotnet: 3.1.300
mono: 6.6.0
matrix:
include:
- dist: xenial
install:
- wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
- sudo dpkg -i packages-microsoft-prod.deb
- sudo apt-get install apt-transport-https
- sudo apt-get update
- sudo apt-get install dotnet-sharedframework-microsoft.netcore.app-1.1.2
- sudo apt-get install dotnet-sdk-2.2
# macOS package restore currently taking >30 mins on Travis
# - os: osx
# .NET Core 2 requires OSX 10.12+
# https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md#macos
# https://docs.travis-ci.com/user/reference/osx/#OS-X-Version
# osx_image: xcode9.4
# install:
# - curl https://download.microsoft.com/download/D/0/2/D028801E-0802-43C8-9F9F-C7DB0A39B344/dotnet-osx-x64.1.1.2.pkg -O
# - sudo installer -pkg dotnet-osx-x64.1.1.2.pkg -target /
# - curl https://download.microsoft.com/download/8/D/A/8DA04DA7-565B-4372-BBCE-D44C7809A467/dotnet-runtime-2.0.6-osx-x64.pkg -O
# - sudo installer -pkg dotnet-runtime-2.0.6-osx-x64.pkg -target /
script:
- ./build.sh --target=Travis --configuration=Release