2015-09-07 22:40:11 +02:00
|
|
|
language: c
|
2015-10-09 23:00:06 +02:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2016-05-15 01:36:31 +02:00
|
|
|
env: OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Release OPJ_CI_INCLUDE_IF_DEPLOY=1
|
2015-10-09 23:00:06 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2016-05-15 01:36:31 +02:00
|
|
|
env: OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Release OPJ_CI_INCLUDE_IF_DEPLOY=1
|
2016-05-25 18:39:41 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
env: OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Release OPJ_NUM_THREADS=2
|
2015-10-09 23:00:06 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
env: OPJ_CI_ARCH=i386 OPJ_CI_BUILD_CONFIGURATION=Release
|
2015-10-15 00:58:58 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-multilib
|
2015-10-09 23:00:06 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
env: OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Debug
|
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
env: OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Debug OPJ_CI_ASAN=1
|
2016-04-27 23:05:43 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: clang-3.9
|
|
|
|
env: OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Release
|
|
|
|
sudo: true
|
2015-10-09 23:00:06 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: x86_64-w64-mingw32-gcc
|
|
|
|
env: OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Release
|
2015-10-15 00:58:58 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-mingw-w64-base
|
|
|
|
- binutils-mingw-w64-x86-64
|
|
|
|
- gcc-mingw-w64-x86-64
|
|
|
|
- gcc-mingw-w64
|
2015-10-09 23:00:06 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: x86_64-w64-mingw32-gcc
|
|
|
|
env: OPJ_CI_ARCH=i386 OPJ_CI_BUILD_CONFIGURATION=Release
|
2015-10-15 00:58:58 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-mingw-w64-base
|
|
|
|
- binutils-mingw-w64-i686
|
|
|
|
- gcc-mingw-w64-i686
|
|
|
|
- gcc-mingw-w64
|
2015-10-09 23:00:06 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc-4.8
|
|
|
|
env: OPJ_CI_ABI_CHECK=1
|
2015-10-15 00:58:58 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- gcc-4.8
|
|
|
|
- libelf-dev
|
|
|
|
- elfutils
|
|
|
|
- texinfo
|
|
|
|
- exuberant-ctags
|
2015-09-08 01:47:26 +02:00
|
|
|
|
|
|
|
install:
|
2015-09-12 02:19:28 +02:00
|
|
|
- ./tools/travis-ci/install.sh
|
2015-09-08 01:47:26 +02:00
|
|
|
|
2015-09-07 22:40:11 +02:00
|
|
|
script:
|
2015-09-12 02:19:28 +02:00
|
|
|
- ./tools/travis-ci/run.sh
|
2015-10-08 20:06:59 +02:00
|
|
|
- ./tools/travis-ci/abi-check.sh
|
2016-05-15 00:42:54 +02:00
|
|
|
|
|
|
|
before_deploy:
|
2016-05-15 01:36:31 +02:00
|
|
|
- export OPJ_RELEASE_PKG_FILE=$(ls build/openjpeg-${TRAVIS_TAG}*)
|
2016-05-15 00:42:54 +02:00
|
|
|
- echo "deploying $OPJ_RELEASE_PKG_FILE to GitHub releases"
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: Npi13uOffALCVNwea4p4q8v85Lo/WsRqaeZQcWrAkt8MxRnfvWQtmnuwmHnVB6Cig+T1lVUHrklOaJIApIb6nkGq3CS/9bD8+SCS2NEdAAP/QYWnBi0ubWXVMRyDLypmwRpzLNSZ0xLYGFUl2PjieZYKRcz1dd/J7S+FnXhPtdjXweq0FS63zTcMe7ggjfmzSOWUCEFmMjZPaM0Be+3PweieCO1dxlHuy7ugCkx2S7d+5hNsicIhQmTADjqtJAkHoMhYqu6/yLFxhjO/+f938PATFULdODTvjCsUwdN/ySWi1Oj4uPAntfytZP7H6YrzLh8dS73QCsdkhhDJIgJskHIBSbRyyEVUnOvQgD9VaBVGHtc1KtZQTwc41OUO3BGPHl97s3oX6bqWqo/L53dB3TPHGx+1+2HL/F0zaDZuHhAKMkPwe8LFPMPB/ur65zXMHjnWb2ZTVVdoIvkbQ7nu8ApI60ejxocYBsEyAuC2CPXU2ki4jdEhm0E1hIziWNE9/LTuM17ziQuJ6WpXOSMrfP4o5aVDmLp5ZGBSocrspOksgyI9XogHaO/r+Y6N3exy+giObFfMHkZVUpsKrKmtOJ7TC1Vg5HsYGlWW8RN8dkJV47bUXm9K4sMos9eYMUt/czykPAs+132cogpII3QxXpFZQqZg6SEPVfOiyqQzTUI=
|
|
|
|
file_glob: true
|
|
|
|
file: "${OPJ_RELEASE_PKG_FILE}"
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
repo: uclouvain/openjpeg
|
|
|
|
tags: true
|
2016-05-15 01:36:31 +02:00
|
|
|
condition: "$OPJ_CI_INCLUDE_IF_DEPLOY = 1"
|
2016-05-15 00:42:54 +02:00
|
|
|
|