forked from nodatime/nodatime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
33 lines (27 loc) · 990 Bytes
/
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
# 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
# We're using Visual Studio 2015
image: Visual Studio 2015
branches:
only:
- master
environment:
COVERALLS_REPO_TOKEN:
secure: 0MrjEwujECMnIaBkI76fNmCpKy5jr9rZx0rAFOM+41frhVfy2r0ldzzoFC4bvGig
# Install the pre-requisites for the build.
install:
# Download the installer for dotnet.
- mkdir .\scripts
- curl -SL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.ps1 -o .\scripts\dotnet-install.ps1
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetcli"
- ps: '& .\scripts\dotnet-install.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -Version 1.0.0-preview2-003121 -NoPath'
# add dotnet to PATH
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
# Perform the build.
build_script:
- dotnet --info
- bash build/appveyor.sh
# The tests are run as part of the build.
test: off