From e3230eabd1fe31b8df6a03301139751e22629517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 2 May 2017 14:25:22 +0200 Subject: [PATCH] Parametrize the cryb.to version. --- .travis.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 61dc831..20469a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,11 +6,16 @@ compiler: dist: trusty sudo: required +env: + global: + - CFLAGS="-Wno-unused-result" + - CRYB_TO=0.20170502 + before_install: - sudo apt-get update -q - sudo apt-get install -y pkg-config - - wget https://github.com/cryb-to/cryb-to/releases/download/0.20170502/cryb-to_0.20170502-1_amd64.deb - - sudo dpkg -i cryb-to_0.20170502-1_amd64.deb + - wget https://github.com/cryb-to/cryb-to/releases/download/${CRYB_TO}/cryb-to_${CRYB_TO}-1_amd64.deb + - sudo dpkg -i cryb-to_${CRYB_TO}-1_amd64.deb before_script: - ./autogen.sh @@ -18,7 +23,3 @@ before_script: script: - make check - -env: - global: - - CFLAGS="-Wno-unused-result"