forked from jskeet/nodatime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
34 lines (28 loc) · 1.02 KB
/
appveyor.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
# Version for the build. We make it clear that it's
# Appveyor as this isn't a version we expect to make
# it elsewhere...
version: 1.0.{build}-appveyor
image: Visual Studio 2017
branches:
only:
- master
environment:
COVERALLS_REPO_TOKEN:
secure: 0MrjEwujECMnIaBkI76fNmCpKy5jr9rZx0rAFOM+41frhVfy2r0ldzzoFC4bvGig
install:
- ps: |
Write-Host "Installing .NET Core SDK..." -ForegroundColor Cyan
Write-Host "Downloading..."
$exePath = "$env:TEMP\dotnet-sdk.exe"
(New-Object Net.WebClient).DownloadFile('https://download.visualstudio.microsoft.com/download/pr/a7e73d05-4e75-4543-ac41-fc69d2f617e5/3f65a44f90c9df66664b44e86b0e6d29/dotnet-sdk-3.0.100-preview-010184-win-x64.exe', $exePath)
Write-Host "Installing..."
cmd /c start /wait "$exePath" /quiet /norestart
del $exePath
Write-Host "Installed" -ForegroundColor Green
# Perform the build.
build_script:
- bash build/appveyor.sh
- choco install codecov
- codecov -f coverage/coverage.xml
# The tests are run as part of the build.
test: off