From 541eaa54f9af6563a0ab6dc48684dd8ac6169915 Mon Sep 17 00:00:00 2001 From: b3b00 Date: Thu, 21 Nov 2019 08:19:41 +0100 Subject: [PATCH] update nuget key --- appveyor.yml | 58 +++++++++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 35883dac..213c807e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,58 +1,64 @@ version: 1.0.{build} image: Visual Studio 2017 init: - - cmd: '' +- cmd: '' environment: nugetKey: - secure: GEFbl9g/FE7orhOvIoMK2+zrBG/nBF9gHY05MNLn6huILu5W6HoEC16wlWPLAWQZ + secure: jlkQ4lJxiapfC87YZMljFZbeROpo26F7wbEB7q+xn5xWlAyfOvy/SNrji8a5uKap codecovToken: secure: tDNSMb2HRVQsJEgwVvuqY02+qgaKI3bw0LHSqplQKSPSRJNEkdCVnX352HoSht5t COVERALLS_REPO_TOKEN: secure: ntYxuZR1S4QagcvXJ+rXGhJoIw0Ln556M3h6PQEwaGr/41x+JazkKeRJ8DHzHODc build_script: - - cmd: >- - dotnet tool install coveralls.net --version 1.0.0 --tool-path tools +- cmd: >- + dotnet tool install coveralls.net --version 1.0.0 --tool-path tools - echo "tools\csmacnz.coveralls.exe --opencover -i ParserTests\coverage.opencover.xml --repoToken 4I3WBzHay1o8YwAH4xRskEHbi5w71atBP --commitBranch "%APPVEYOR_REPO_BRANCH%" --commitId "%APPVEYOR_REPO_COMMIT%" --commitAuthor "%APPVEYOR_REPO_COMMIT_AUTHOR%" --commitEmail "%APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL%" --jobId "%APPVEYOR_JOB_ID%" --useRelativePaths --basePath "%APPVEYOR_BUILD_FOLDER%" + echo "tools\csmacnz.coveralls.exe --opencover -i ParserTests\coverage.opencover.xml --repoToken 4I3WBzHay1o8YwAH4xRskEHbi5w71atBP --commitBranch "%APPVEYOR_REPO_BRANCH%" --commitId "%APPVEYOR_REPO_COMMIT%" --commitAuthor "%APPVEYOR_REPO_COMMIT_AUTHOR%" --commitEmail "%APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL%" --jobId "%APPVEYOR_JOB_ID%" --useRelativePaths --basePath "%APPVEYOR_BUILD_FOLDER%" - dotnet restore + dotnet restore - dotnet build -c Release + dotnet build -c Release - dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:exclude=\"[while]*,[expressionParser]*,[GenericLexerWithCallbacks]*,[jsonparser]*,[SimpleExpressionParser]*\" ParserTests/ParserTests.csproj + dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:exclude=\"[while]*,[expressionParser]*,[GenericLexerWithCallbacks]*,[jsonparser]*,[SimpleExpressionParser]*\" ParserTests/ParserTests.csproj - echo "############################" + echo "############################" - tools\csmacnz.coveralls.exe --opencover -i ./ParserTests/coverage.opencover.xml --repoToken 4I3WBzHay1o8YwAH4xRskEHbi5w71atBP --commitBranch "%APPVEYOR_REPO_BRANCH%" --commitId "%APPVEYOR_REPO_COMMIT%" --commitAuthor "%APPVEYOR_REPO_COMMIT_AUTHOR%" --commitEmail "%APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL%" --jobId "%APPVEYOR_JOB_ID%" + tools\csmacnz.coveralls.exe --opencover -i ./ParserTests/coverage.opencover.xml --repoToken 4I3WBzHay1o8YwAH4xRskEHbi5w71atBP --commitBranch "%APPVEYOR_REPO_BRANCH%" --commitId "%APPVEYOR_REPO_COMMIT%" --commitAuthor "%APPVEYOR_REPO_COMMIT_AUTHOR%" --commitEmail "%APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL%" --jobId "%APPVEYOR_JOB_ID%" - echo "############################" + echo "############################" - dotnet pack -c Release + dotnet pack -c Release test_script: - - ps: dotnet test ParserTests/ParserTests.csproj +- ps: dotnet test ParserTests/ParserTests.csproj artifacts: - - path: sly/bin/release/* - name: sly - - path: sly_coverage.xml - name: sly - - path: ParserTests/coverage.opencover.xml - name: sly -deploy: off +- path: sly/bin/release/* + name: sly +- path: sly_coverage.xml + name: sly +- path: ParserTests/coverage.opencover.xml + name: sly +deploy: +- provider: NuGet + api_key: + secure: jlkQ4lJxiapfC87YZMljFZbeROpo26F7wbEB7q+xn5xWlAyfOvy/SNrji8a5uKap + skip_symbols: true + on: + branch: dev notifications: - - provider: Email - to: - - olivier.duhart@gmail.com - on_build_success: true - on_build_failure: true - on_build_status_changed: true \ No newline at end of file +- provider: Email + to: + - olivier.duhart@gmail.com + on_build_success: true + on_build_failure: true + on_build_status_changed: true