-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (30 loc) · 1.51 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
# -----------------------------------------------------------------------------
# <copyright file="appveyor.yml" company="MTCS">
# Copyright (c) MTCS 2018.
# MTCS is a trading name of Meridian Technology Consultancy Services Ltd.
# Meridian Technology Consultancy Services Ltd is registered in England and
# Wales. Company number: 11184022.
# </copyright>
# -----------------------------------------------------------------------------
# Configuration
configuration: release
# Only master branch
branches:
only:
- master
# VS 2017
image: Visual Studio 2017
# Build script
build_script:
- cmd: |
dotnet test Meridian.MeaningfulToString\Meridian.MeaningfulToString.Tests\Meridian.MeaningfulToString.Tests.csproj
dotnet publish Meridian.MeaningfulToString\Meridian.MeaningfulToString\Meridian.MeaningfulToString.csproj --output %APPVEYOR_BUILD_FOLDER%
copy %APPVEYOR_BUILD_FOLDER%\LICENSE.md %APPVEYOR_BUILD_FOLDER%\Meridian.MeaningfulToString\Meridian.MeaningfulToString\bin\Release\netstandard2.0\Meridian.MeaningfulToString-LICENSE.txt
7z a Meridian.MeaningfulToString.zip %APPVEYOR_BUILD_FOLDER%\Meridian.MeaningfulToString\Meridian.MeaningfulToString\bin\Release\netstandard2.0\*.*
dotnet pack Meridian.MeaningfulToString\Meridian.MeaningfulToString\Meridian.MeaningfulToString.csproj --output %APPVEYOR_BUILD_FOLDER%
# Artifact Config
artifacts:
- path: "*.nupkg"
name: Meridian.MeaningfulToString NuGet Package
- path: Meridian.MeaningfulToString.zip
name: "Meridian.MeaningfulToString Binaries"