/
appveyor.yml
54 lines (38 loc) · 1.2 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
47
48
49
50
51
52
53
54
#---------------------------------#
# general configuration #
#---------------------------------#
version: 1.1.3.{build}-{branch}
branches:
only:
- master
skip_tags: true
#---------------------------------#
# environment configuration #
#---------------------------------#
image: Visual Studio 2015
clone_depth: 1
nuget:
disable_publish_on_pr: true
#---------------------------------#
# build configuration #
#---------------------------------#
configuration: Release
build_script:
- dotnet --info
- dotnet restore --no-cache
- dotnet build **/project.json --configuration Release --version-suffix %APPVEYOR_BUILD_NUMBER%
- dotnet pack src/JitterMagic/project.json --configuration Release --no-build
#---------------------------------#
# tests configuration #
#---------------------------------#
test_script:
- dotnet test test/JitterMagic.UnitTests/project.json --configuration Release --no-build
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: src/**/*.nupkg
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy: off