forked from qmlnet/qmlnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (23 loc) · 905 Bytes
/
.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
language: csharp
mono: none
matrix:
include:
- name: "Linux Qt 5.15.1"
dotnet: 3.1
os: linux
dist: xenial
- name: "OSX Qt 5.15.1"
dotnet: 3.1.300
os: osx
osx_image: xcode9.4
if: tag IS blank
git:
depth: false
before_install:
# to support running tests for .NET Core 2.1 LTS, install the runtime side-by-side
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install dotnet-runtime-2.1 ; fi
# Copied from csharp.rb in the travis-build repo
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then wget --retry-connrefused --waitretry=1 -O /tmp/dotnet.pkg https://download.visualstudio.microsoft.com/download/pr/bc303f50-ec1d-43b4-b846-51d5fc3c1a2d/4f0abfa496fba6a387dc80b450eb65b8/dotnet-runtime-2.1.18-osx-x64.pkg; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then sudo installer -package "/tmp/dotnet.pkg" -target "/" -verboseR; fi
script:
- ./build/travis.sh