2015-10-11 17:59:54 +02:00
|
|
|
version: 2.1.1.{build}
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- coverity_scan
|
2016-05-15 00:42:54 +02:00
|
|
|
skip_tags: false
|
2015-10-11 17:59:54 +02:00
|
|
|
clone_depth: 50
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- OPJ_CI_ARCH: x86
|
|
|
|
OPJ_CI_VSCOMNTOOLS: $(VS140COMNTOOLS)
|
2016-05-15 13:15:01 +02:00
|
|
|
OPJ_CI_INCLUDE_IF_DEPLOY: 1
|
2015-10-11 17:59:54 +02:00
|
|
|
- OPJ_CI_ARCH: x64
|
|
|
|
OPJ_CI_VSCOMNTOOLS: $(VS140COMNTOOLS)
|
2016-05-15 13:15:01 +02:00
|
|
|
OPJ_CI_INCLUDE_IF_DEPLOY: 1
|
2015-10-11 17:59:54 +02:00
|
|
|
- OPJ_CI_ARCH: x86
|
|
|
|
OPJ_CI_VSCOMNTOOLS: $(VS100COMNTOOLS)
|
|
|
|
install:
|
|
|
|
- cmd: c:\cygwin\bin\bash ./tools/travis-ci/install.sh
|
|
|
|
build_script:
|
|
|
|
- cmd: >-
|
|
|
|
"%OPJ_CI_VSCOMNTOOLS%..\..\VC\vcvarsall.bat" %OPJ_CI_ARCH%
|
|
|
|
|
|
|
|
bash ./tools/travis-ci/run.sh
|
|
|
|
test: off
|
2016-05-15 00:42:54 +02:00
|
|
|
#before_deploy:
|
|
|
|
#- cmd: c:\cygwin\bin\bash ./tools/travis-ci/before_deploy.sh
|
|
|
|
deploy:
|
|
|
|
release: openjpeg-$(appveyor_repo_tag_name)
|
|
|
|
description: 'OpenJPEG $(appveyor_repo_tag_name) has been released'
|
|
|
|
provider: GitHub
|
|
|
|
auth_token:
|
|
|
|
secure: Huk03f1heCD/HMyA+4ZeVmICdmKn9rPxK5p8/KxzgL+FtJDHlqcllcCrtN9bDxRH # your encrypted token from GitHub
|
|
|
|
artifact: /.*\.zip/ # upload all zip packages to release assets
|
|
|
|
draft: true
|
|
|
|
prerelease: false
|
|
|
|
on:
|
|
|
|
appveyor_repo_tag: true # deploy on tag push only
|
2016-05-15 13:38:32 +02:00
|
|
|
OPJ_CI_INCLUDE_IF_DEPLOY: 1
|