summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Darbois <mayeut@users.noreply.github.com>2016-04-22 12:54:25 +0200
committerMatthieu Darbois <mayeut@users.noreply.github.com>2016-04-22 12:54:25 +0200
commit06e8dc9edde8aacea66b32c14a8f8fb6e3cdbbbf (patch)
treeaedf00a3eb8556423abe9ee6c3bc204e1d063d90
parentf5446fdcfb4f9174c449a706e641b635d07bfa5c (diff)
parent6ea2ff0b0627655d36ad7cc7483de7592b8bcbd1 (diff)
Merge pull request #746 from senbox-org/update_cmake_jpylyzer
Update cmake & jpylyzer for travis builds
-rwxr-xr-xtools/travis-ci/install.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/tools/travis-ci/install.sh b/tools/travis-ci/install.sh
index c62feee8..003f8fa8 100755
--- a/tools/travis-ci/install.sh
+++ b/tools/travis-ci/install.sh
@@ -37,9 +37,9 @@ fi
if [ "${OPJ_CI_ASAN:-}" == "1" ]; then
# We need a new version of cmake than travis-ci provides
- wget --no-check-certificate -qO - https://cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz | tar -xz
+ wget --no-check-certificate -qO - https://cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz | tar -xz
# copy to a directory that will not changed every version
- mv cmake-3.3.2-Linux-x86_64 cmake-install
+ mv cmake-3.5.2-Linux-x86_64 cmake-install
fi
if [ "${OPJ_CI_SKIP_TESTS:-}" != "1" ]; then
@@ -62,16 +62,17 @@ if [ "${OPJ_CI_SKIP_TESTS:-}" != "1" ]; then
git clone --depth=1 --branch=${OPJ_DATA_BRANCH} git://github.com/uclouvain/openjpeg-data.git data
# We need jpylyzer for the test suite
+ JPYLYZER_VERSION="1.17.0"
echo "Retrieving jpylyzer"
if [ "${APPVEYOR:-}" == "True" ]; then
- wget --local-encoding=UTF-8 -q http://dl.bintray.com/openplanets/opf-windows/jpylyzer_1.14.2_win32.zip
+ wget --local-encoding=UTF-8 -q http://dl.bintray.com/openplanets/opf-windows/jpylyzer_${JPYLYZER_VERSION}_win32.zip
mkdir jpylyzer
cd jpylyzer
- cmake -E tar -xf ../jpylyzer_1.14.2_win32.zip
+ cmake -E tar -xf ../jpylyzer_${JPYLYZER_VERSION}_win32.zip
cd ..
else
- wget -qO - https://github.com/openpreserve/jpylyzer/archive/1.14.2.tar.gz | tar -xz
- mv jpylyzer-1.14.2/jpylyzer ./
+ wget -qO - https://github.com/openpreserve/jpylyzer/archive/${JPYLYZER_VERSION}.tar.gz | tar -xz
+ mv jpylyzer-${JPYLYZER_VERSION}/jpylyzer ./
chmod +x jpylyzer/jpylyzer.py
fi