Skip to content

Commit

Permalink
[ci] #7 Change build_script
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevYuniers committed Dec 4, 2018
1 parent 94ed30a commit 0bba69a
Showing 1 changed file with 14 additions and 21 deletions.
35 changes: 14 additions & 21 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ platform:

clone_folder: c:\projects\libskycoin-dotnet

# build Configuration, i.e. Debug, Release, etc.
configuration: Release
environment:
GOOS: windows
GOARCH: amd64
Expand All @@ -21,32 +23,23 @@ install:
- cmd: cd %GOPATH%
- cmd: go get github.com/gz-c/gox
- cmd: go get -t ./...
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: nuget restore LibskycoinNet.sln
- cmd: nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner

# build Configuration, i.e. Debug, Release, etc.
configuration: Release

# Build settings, not to be confused with "before_build" and "after_build".
# "project" is relative to the original build directory and not influenced by directory changes in "before_build".
build:
parallel: true # enable MSBuild parallel builds
project: LibskycoinNet.sln # path to Visual Studio solution or project
publish_wap: false # package Web Application Projects (WAP) for Web Deploy
publish_wap_xcopy: false # package Web Application Projects (WAP) for XCopy deployment
publish_azure: false # package Azure Cloud Service projects and push to artifacts
publish_nuget: false # package projects with .nuspec files and push to artifacts
publish_nuget_symbols: false # generate and publish NuGet symbol packages
include_nuget_references: false # add -IncludeReferencedProjects option while packaging NuGet artifacts

# MSBuild verbosity level
verbosity: detailed

# scripts to run before build
# packages from nuget
before_build:
- cd %APPVEYOR_BUILD_FOLDER%
- nuget restore LibskycoinNet.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner

# use custom build_script
build_script:
- msbuild /p:Configuration=Release LibskycoinNet.sln

# to run tests against only selected assemblies and/or categories
test:
assemblies:
only:
- LibskycoinNetTest\bin\Release\LibskycoinNetTest.dll


deploy: off

0 comments on commit 0bba69a

Please sign in to comment.