Skip to content

Commit

Permalink
update nuget key
Browse files Browse the repository at this point in the history
  • Loading branch information
b3b00 committed Nov 21, 2019
1 parent baf3adf commit 541eaa5
Showing 1 changed file with 32 additions and 26 deletions.
58 changes: 32 additions & 26 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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:
- [email protected]
on_build_success: true
on_build_failure: true
on_build_status_changed: true
- provider: Email
to:
- [email protected]
on_build_success: true
on_build_failure: true
on_build_status_changed: true

0 comments on commit 541eaa5

Please sign in to comment.