-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit cec6cf1
Showing
225 changed files
with
42,371 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,174 @@ | ||
|
||
#---------------------------------# | ||
# general configuration # | ||
#---------------------------------# | ||
|
||
# version format | ||
version: 1.0.{build}-{branch} | ||
|
||
# branches to build | ||
branches: | ||
# blacklist | ||
except: | ||
- gh-pages | ||
|
||
# Skipping commits affecting specific files (GitHub only). More details here: /docs/appveyor-yml | ||
skip_commits: | ||
# Default `skip` messages are applied even on tag builds with APPVEYOR_IGNORE_COMMIT_FILTERING_ON_TAG==true | ||
message: /\[_skip ci_\]|\[_ci skip_\]|\[_skip_ci_\]|\[_ci_skip_\]/ | ||
files: | ||
- README.md | ||
- THIRD_PARTY_NOTICES.md | ||
# - docs/* | ||
# - '**/*.png' | ||
# - '**/*.jpg' | ||
# - '**/*.jpeg' | ||
# - '**/*.bmp' | ||
# - '**/*.gif' | ||
# - '**/*.js' | ||
# - '**/*.txt' | ||
# - '**/*.md' | ||
|
||
# Maximum number of concurrent jobs for the project | ||
max_jobs: 1 | ||
|
||
#---------------------------------# | ||
# environment configuration # | ||
#---------------------------------# | ||
|
||
# Build worker image (VM template) | ||
image: Visual Studio 2019 | ||
|
||
# environment variables | ||
environment: | ||
APPVEYOR_IGNORE_COMMIT_FILTERING_ON_TAG: true | ||
git_user_email: qwertiest@mail.ru | ||
git_user_name: TheQwertiest | ||
GITHUB_ACCESS_TOKEN: | ||
secure: gBfHQnRcGcTS0yQXWOHhKfDkTZfIBwPIDjTsCQOGmOSPkRqs1QPYBX47BjCvJKim | ||
|
||
# this is how to allow failing jobs in the matrix | ||
matrix: | ||
fast_finish: true # set this flag to immediately finish build once one of the jobs fails. | ||
|
||
cache: | ||
- workspaces\packages -> **\packages.config | ||
- c:\tools\vcpkg\installed | ||
|
||
# scripts that run after cloning repository | ||
install: | ||
- cd C:\Tools\vcpkg | ||
- git pull | ||
- .\bootstrap-vcpkg.bat | ||
- cd %APPVEYOR_BUILD_FOLDER% | ||
- vcpkg remove --outdated --recurse | ||
- cmd: set VCPKG_PLATFORM_TOOLSET=v142 | ||
- vcpkg install cpprestsdk:x86-windows-static | ||
- vcpkg integrate install | ||
- py -u scripts\setup.py | ||
|
||
#---------------------------------# | ||
# build configuration # | ||
#---------------------------------# | ||
|
||
# build platform, i.e. x86, x64, Any CPU. This setting is optional. | ||
platform: | ||
- Win32 | ||
|
||
# build Configuration, i.e. Debug, Release, etc. | ||
configuration: | ||
- Debug | ||
- 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: workspaces\foo_spotify.sln # path to Visual Studio solution or project | ||
|
||
# MSBuild verbosity level | ||
verbosity: normal | ||
|
||
# scripts to run before build | ||
before_build: | ||
- nuget restore workspaces\foo_spotify.sln | ||
|
||
# to run your custom scripts instead of automatic MSBuild | ||
build_script: | ||
|
||
# scripts to run after build (working directory and environment changes are persisted from the previous steps) | ||
after_build: | ||
|
||
# scripts to run *after* solution is built and *before* automatic packaging occurs (web apps, NuGet packages, Azure Cloud Services) | ||
before_package: | ||
- if '%configuration%' == 'Debug' ( | ||
py -u scripts\pack_component.py --debug && | ||
ren "_result\%platform%_%configuration%\foo_spotify.fb2k-component" "foo_spotify.fb2k-component_debug" | ||
) | ||
else ( | ||
py -u scripts\pack_component.py | ||
) | ||
|
||
# to disable automatic builds | ||
#build: off | ||
|
||
#---------------------------------# | ||
# artifacts configuration # | ||
#---------------------------------# | ||
|
||
artifacts: | ||
# pushing a single file with environment variable in path and "Deployment name" specified | ||
- path: _result\$(platform)_$(configuration)\foo_spotify.fb2k-component | ||
name: SPTF package (Release) | ||
- path: _result\$(platform)_$(configuration)\foo_spotify_pdb.zip | ||
name: SPTF PDB package (Release) | ||
- path: _result\$(platform)_$(configuration)\foo_spotify.fb2k-component_debug | ||
name: SPTF package (Debug) | ||
|
||
#---------------------------------# | ||
# deployment configuration # | ||
#---------------------------------# | ||
|
||
# providers: Local, FTP, WebDeploy, AzureCS, AzureBlob, S3, NuGet, Environment | ||
# provider names are case-sensitive! | ||
deploy: | ||
description: 'Dummy description' | ||
provider: GitHub | ||
auth_token: $(GITHUB_ACCESS_TOKEN) | ||
artifact: /foo_spotify.*/ # upload all NuGet packages to release assets | ||
prerelease: true | ||
on: | ||
branch: master # release from master branch only | ||
appveyor_repo_tag: true # deploy on tag push only | ||
|
||
|
||
# scripts to run before deployment | ||
before_deploy: | ||
|
||
# scripts to run after deployment | ||
after_deploy: | ||
|
||
# to run your custom scripts instead of provider deployments | ||
deploy_script: | ||
|
||
# to disable deployment | ||
# deploy: off | ||
|
||
#---------------------------------# | ||
# global handlers # | ||
#---------------------------------# | ||
|
||
# on successful build | ||
on_success: | ||
|
||
# on build failure | ||
on_failure: | ||
|
||
# after build failure or success | ||
on_finish: | ||
|
||
#---------------------------------# | ||
# notifications # | ||
#---------------------------------# | ||
|
||
notifications: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
skips: ['B101','B404','B602','B607'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
engines: | ||
prospector: | ||
enabled: true | ||
python_version: 3 | ||
pylint: | ||
enabled: true | ||
python_version: 3 | ||
exclude_paths: | ||
- "libspotify/**" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
# Custom for Visual Studio | ||
*.cs diff=csharp | ||
# Standard to msysgit | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain | ||
*.zip filter=lfs diff=lfs merge=lfs -text | ||
|
||
libspotify/* linguist-detectable=false | ||
scripts/* linguist-detectable=false |
Oops, something went wrong.