2017-10-03 12:42:31 +00:00
|
|
|
version: '1.0-git-{build}'
|
|
|
|
skip_tags: true
|
|
|
|
image: 'Visual Studio 2015'
|
|
|
|
clone_depth: 1
|
|
|
|
|
|
|
|
# Build configuration
|
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
|
|
|
|
# Branches to build
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
# Environment
|
|
|
|
environment:
|
2017-10-15 19:19:48 +00:00
|
|
|
PYTHON: 'C:\Python36-x64'
|
|
|
|
NINJA_URL: https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip
|
2017-10-03 12:42:31 +00:00
|
|
|
QTDIR: 'C:\Qt\5.9.1\msvc2015_64'
|
2017-10-15 19:19:48 +00:00
|
|
|
QT32PATH: 'C:\Qt\5.9.1\msvc2015'
|
|
|
|
QT64PATH: 'C:\Qt\5.9.1\msvc2015_64'
|
|
|
|
VSVARSALLPATH: 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat'
|
2017-10-03 12:42:31 +00:00
|
|
|
|
|
|
|
before_build:
|
2017-10-15 19:19:48 +00:00
|
|
|
- cmd: prepare_r2.bat
|
2017-10-03 12:42:31 +00:00
|
|
|
|
|
|
|
# Build config
|
2017-10-15 19:19:48 +00:00
|
|
|
build_script:
|
|
|
|
- cmd: build.bat 32
|
|
|
|
- cmd: build.bat 64
|
2017-10-08 06:23:22 +00:00
|
|
|
|
2017-10-03 12:42:31 +00:00
|
|
|
# Tests
|
|
|
|
test: off
|
2017-10-08 06:23:22 +00:00
|
|
|
|
|
|
|
# Artifacts
|
|
|
|
artifacts:
|
2017-10-15 19:19:48 +00:00
|
|
|
- path: build32\cutter32
|
|
|
|
- path: build64\cutter64
|
2017-10-08 06:23:22 +00:00
|
|
|
|
|
|
|
#deploy:
|
|
|
|
# release: cutter-1.0-$(appveyor_build_version)
|
|
|
|
# description: 'Cutter Windows'
|
|
|
|
# provider: GitHub
|
|
|
|
# auth_token:
|
|
|
|
# secure: 2SmsqS2RaX2N5c9UwUcfBwNmMX64FfPAZFShLyxIkZXiC8vLaYCHToWxBYEuWRSk
|
|
|
|
# artifact: Cutter
|
|
|
|
# draft: true
|
|
|
|
# prerelease: true
|
|
|
|
# on:
|
|
|
|
# branch: master
|
|
|
|
# appveyor_repo_tag: false
|