-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
36 lines (36 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
36
language: csharp
mono: none
jobs:
include:
# Linux: tests, releases, coverage
- os: linux
env: TEST_ARGS="-p:CollectCoverage=true -p:CoverletOutputFormat=opencover"
dotnet: 3.1.3
before_script:
- ./setup stable
- ./scripts/solution
script:
- dotnet test build $TEST_ARGS
- sudo ./scripts/dev-workflow-test
after_script:
- sed -i 's/.cs/.howl/g' build/test/coverage.opencover.xml
- bash <(curl -s https://codecov.io/bash)
before_deploy: ./scripts/archive
deploy:
provider: releases
api_key: $github_token
file: "howl.tgz"
skip_cleanup: true
on:
tags: true
after_deploy:
script: ./setup
# Windows: tests only
- os: windows
env: TEST_ARGS="-l console;verbosity=normal"
before_script:
- powershell Set-ExecutionPolicy Unrestricted
- choco install dotnetcore-sdk
- powershell "./setup.ps1 stable"
- powershell howl build .
script: dotnet test build $TEST_ARGS