Use cpt to check for and install missing dependencies if any in Travis.

This commit is contained in:
Pratyush Das 2019-09-24 10:33:04 +05:30 committed by SFT
parent 3ed675ab01
commit ae04047006

View File

@ -177,7 +177,8 @@ script:
if [ -z $TRAVIS_TAG ]; then
TIMEOUTEXE=`which timeout`;
if [ "x" = "x$TIMEOUTEXE" ] ; then TIMEOUTEXE=gtimeout; fi
$TIMEOUTEXE -s SIGTERM $TIMEOUT tools/packaging/cpt.py \
$TIMEOUTEXE -s SIGTERM $TIMEOUT echo yes | tools/packaging/cpt.py \
--check-requirements \
--current-dev=tar \
--with-cling-url=https://github.com/$TRAVIS_REPO_SLUG \
--with-clang-url=http://root.cern.ch/git/clang.git \
@ -185,7 +186,8 @@ script:
--with-cmake-flags="$CLING_BUILD_FLAGS" \
--skip-cleanup
else
tools/packaging/cpt.py \
echo yes | tools/packaging/cpt.py \
--check-requirements \
--tarball-tag=$([[ $TRAVIS_TAG = cling-nightlies ]] && echo "master" || echo "$TRAVIS_TAG") \
--with-cling-url=https://github.com/$TRAVIS_REPO_SLUG \
--with-clang-url=http://root.cern.ch/git/clang.git \