forked from fsbolero/Bolero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
46 lines (34 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
35
36
37
38
39
40
41
42
43
44
45
46
version: build {build}
image:
- Ubuntu
build:
verbosity: minimal
branches:
except:
- gh-pages
skip_tags: true
init:
- git config --global core.autocrlf input
before_build:
- dotnet tool install nbgv --tool-path .paket
- export SEMVER="$(.paket/nbgv get-version -v SemVer2)"
- appveyor UpdateBuild -Version "$SEMVER ($APPVEYOR_BUILD_ID)"
build_script:
- export NUGET_PACKAGES="$APPVEYOR_BUILD_FOLDER/.nuget"
# Chrome on AV is not latest
- dotnet tool restore
- dotnet paket add Selenium.WebDriver.ChromeDriver --version 76.0.3809.12600
- dotnet restore
- '$BUILD_SCRIPT -t pack -c Release -v "$SEMVER" --sourceLink /p:GhPages=true'
test_script:
- '$BUILD_SCRIPT -s -t test -c Release --push-tests "https://ci.appveyor.com/api/testresults/mstest/$APPVEYOR_JOB_ID"'
environment:
BUILD_SCRIPT: ./build.sh
GH_TOKEN:
secure: dhFy1eZoqG4QPkKTuLFxix7QQMxaIyIpYjkvTU3CukYZz1CEOJeHfBSaT8tkPsGL
# all builds on the AppVeyor NuGet feed
artifacts:
- path: build/*.nupkg
name: nuget
cache:
- .nuget