allow builds from local command line e.g. when not running Travis
This commit is contained in:
parent
18ce4ab966
commit
b4a04b1d61
|
@ -106,7 +106,7 @@ export RELEASE=$(git describe --long --always | sed -n 's/^\([0-9\.]*\)-\([0-9]*
|
||||||
# We don't want to build packages for all supported distros after every commit
|
# We don't want to build packages for all supported distros after every commit
|
||||||
# Only build all packages when executed via cron
|
# Only build all packages when executed via cron
|
||||||
# See https://docs.travis-ci.com/user/cron-jobs/
|
# See https://docs.travis-ci.com/user/cron-jobs/
|
||||||
if [ "${TRAVIS_EVENT_TYPE}" == "cron" ]; then
|
if [ "${TRAVIS_EVENT_TYPE}" == "cron" ] || [ "${TRAVIS}" != "true" ]; then
|
||||||
commonprep
|
commonprep
|
||||||
|
|
||||||
# Steps common to Redhat distros
|
# Steps common to Redhat distros
|
||||||
|
@ -171,7 +171,7 @@ if [ "${TRAVIS_EVENT_TYPE}" == "cron" ]; then
|
||||||
echo "Starting packpack..."
|
echo "Starting packpack..."
|
||||||
packpack/packpack
|
packpack/packpack
|
||||||
|
|
||||||
if [ "${OS}" == "ubuntu" ] && [ "${DIST}" == "trusty" ]; then
|
if [ "${OS}" == "ubuntu" ] && [ "${DIST}" == "trusty" ] && [ "${TRAVIS}" == "true" ]; then
|
||||||
installtrusty
|
installtrusty
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue