-
Notifications
You must be signed in to change notification settings - Fork 60
/
.travis.yml
35 lines (35 loc) · 1.05 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
language: csharp
solution: ArchUnit.sln
jobs:
include:
- stage: linux_build
dotnet: 6.0.110
mono: none
os: linux
dist: focal
script:
- chmod +x ./Travis/test_linux.sh && ./Travis/test_linux.sh
before_deploy:
- sudo apt-get install doxygen doxygen-doc graphviz
deploy:
skip_cleanup: true
provider: script
script: chmod +x ./Travis/deploy_documentation.sh && ./Travis/deploy_documentation.sh
on:
tags: true
all_branches: true
- stage: windows_build
mono: none
os: windows
before_script:
- choco install dotnet-6.0-sdk --version=6.0.402
- PowerShell -Command 'Set-ExecutionPolicy -ExecutionPolicy RemoteSigned'
script:
- PowerShell -File Travis/test_windows.ps1 -tag "$TRAVIS_TAG"
deploy:
skip_cleanup: true
provider: script
script: PowerShell -File Travis/deploy.ps1 -apiKey $NUGET_API_KEY -source $NUGET_SOURCE
on:
tags: true
all_branches: true