summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Tolkien <chad@sodadigital.com.au>2016-09-09 12:02:14 +1000
committerChad Tolkien <chad@sodadigital.com.au>2016-09-09 12:02:14 +1000
commit83ff2ffe4899b44d6586349d3c9928f14920e557 (patch)
tree6818a8b5bceb1980a00fb61645126cbce6746782
parent89d7f2f2f75baf05c000b9281399efb62bee3d61 (diff)
parent11447ae7b18c419a1a79343f737e249b492af543 (diff)
downloadTinyPNG-83ff2ffe4899b44d6586349d3c9928f14920e557.zip
TinyPNG-83ff2ffe4899b44d6586349d3c9928f14920e557.tar.gz
TinyPNG-83ff2ffe4899b44d6586349d3c9928f14920e557.tar.bz2
Merge branch 'master' of https://github.com/ctolkien/TinyPNG
-rw-r--r--appveyor.yml14
1 files changed, 12 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 66db52a..1647bb5 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,19 +1,29 @@
version: 1.1.{build}
os: Visual Studio 2015
+configuration: Release
+pull_requests:
+ do_not_increment_build_number: true
+
init:
- ps: $Env:LABEL = $Env:APPVEYOR_BUILD_NUMBER
+- ps: Set DOTNET_SKIP_FIRST_TIME_EXPERIENCE
+- ps: iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/PureKrome/0f79e25693d574807939/raw/f5b40256fc2ca77d49f1c7773d28406152544c1e/appveyor-build-info.ps'))
+
build:
verbosity: minimal
publish_nuget: true
+
build_script:
- dotnet restore -v Minimal
- dotnet build **\project.json -c %CONFIGURATION%
- dotnet pack -c %CONFIGURATION% -o .\artifacts .\src\TinyPNG\project.json
+
test_script:
- cmd: dotnet test -c %CONFIGURATION% --no-build .\tests\TinyPng.Tests\
+
artifacts:
- path: artifacts\**\*.*
-configuration: Release
+
deploy:
- provider: NuGet
api_key:
@@ -23,4 +33,4 @@ deploy:
on:
branch: release
cache:
-- '%USERPROFILE%\.nuget\packages' \ No newline at end of file
+- '%USERPROFILE%\.nuget\packages'