-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy path.travis.yml
47 lines (39 loc) · 1.18 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
language: csharp
matrix:
include:
- os: linux
dist: bionic
sudo: required
addons:
apt:
sources:
- sourceline: "deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main"
key_url: "https://packages.microsoft.com/keys/microsoft.asc"
packages:
- powershell
- dotnet-sdk-6.0
- dotnet-sdk-7.0
- dotnet-sdk-8.0
- os: osx
osx_image: xcode12.2
before_install:
- brew tap homebrew/cask
- brew install --cask powershell
- brew tap isen-ng/dotnet-sdk-versions
- brew install --cask dotnet-sdk6-0-423
- brew install --cask dotnet-sdk7-0-410
- brew install --cask dotnet-sdk8-0-302
fast_finish: true
mono:
- latest
dotnet: 8.0.302
before_install:
- git fetch --unshallow # Travis always does a shallow clone, but GitVersion needs the full history including branches and tags
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
- git fetch origin
- chmod +x build.sh
script:
- ./build.sh --target Travis --verbosity diagnostic
cache:
directories:
- tools/Addins