openjpeg/.travis.yml

20 lines
919 B
YAML
Raw Normal View History

2015-09-07 22:40:11 +02:00
language: c
2015-09-08 01:47:26 +02:00
compiler:
- gcc
2015-09-07 23:16:48 +02:00
before_install:
2015-09-08 00:32:20 +02:00
- cmake --version
2015-09-07 23:19:40 +02:00
- git clone --depth=1 --branch=master git://github.com/uclouvain/openjpeg-data.git data
2015-09-08 01:50:18 +02:00
- wget -qO - https://github.com/openpreserve/jpylyzer/archive/1.14.2.tar.gz | tar -xvz
2015-09-08 01:47:26 +02:00
install:
- chmod +x jpylyzer-1.14.2/jpylyzer/jpylyzer.py
2015-09-07 22:40:11 +02:00
script:
- mkdir build
- cd build
2015-09-08 01:47:26 +02:00
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_CODEC=ON -DBUILD_THIRDPARTY=ON -DBUILD_TESTING=ON -DOPJ_DATA_ROOT=${PWD}/../data -DJPYLYZER_EXECUTABLE=${PWD}/../jpylyzer-1.14.2/jpylyzer/jpylyzer.py -DSITE=travis-ci.org -DBUILDNAME=${TRAVIS_OS_NAME}-${CC}$(${CC} -dumpversion)-x86_64-${TRAVIS_BRANCH}$( [[ "${TRAVIS_PULL_REQUEST}" != "false" ]] && echo "-pr${TRAVIS_PULL_REQUEST}" )-Release-3rdP ..
2015-09-08 00:32:20 +02:00
- ctest -D ExperimentalStart
2015-09-08 01:19:44 +02:00
- ctest -D ExperimentalBuild -V
2015-09-08 00:32:20 +02:00
- ctest -D ExperimentalTest -j2 || true
- ctest -D ExperimentalSubmit || true