Files
libloot-python/appveyor.yml
T

43 lines
1.1 KiB
YAML
Raw Normal View History

2016-08-13 14:30:29 +01:00
os: Visual Studio 2015
version: "{build}-{branch}"
configuration: Release
before_build:
- cd %APPVEYOR_BUILD_FOLDER%
- ps: mkdir build
- cd build
- cmake .. -G "Visual Studio 14 2015"
build:
verbosity: minimal
project: 'c:\projects\loot-api-python\build\loot_api_python.sln'
test_script:
2016-09-18 17:30:22 +01:00
- cd %APPVEYOR_BUILD_FOLDER%\build\Release
- python -m unittest test
2016-08-13 14:30:29 +01:00
after_test:
2016-09-18 17:30:22 +01:00
- cd %APPVEYOR_BUILD_FOLDER%\build
2016-08-13 14:30:29 +01:00
- cpack
# AppVeyor checks out a specific commit, but that means the archive script
# can't tell which branch it's on, so rename the 7z archives.
- ps: $env:GIT_DESCRIBE = ((git describe --tags --long --always) | Out-String) -replace "`n|`r", ""
artifacts:
2016-11-14 08:00:37 +00:00
- path: build\package\loot_api_python-$(GIT_DESCRIBE)_$(APPVEYOR_REPO_BRANCH)-win32.7z
2016-08-13 14:30:29 +01:00
name: loot_api_python
deploy:
- provider: BinTray
username: wrinklyninja
api_key:
2016-12-05 23:06:46 +00:00
secure: fBQJmUDK/EgEUWjjbo6bWcitczeFTJZT4OZ3ZZ4FoUT6soBsTWPQJnr8YEVMFhGP
2016-08-13 14:30:29 +01:00
subject: wrinklyninja
repo: loot
package: loot-api-python
version: $(GIT_DESCRIBE)_$(APPVEYOR_REPO_BRANCH)
publish: true
artifact: loot_api_python