allow builds from local command line e.g. when not running Travis

This commit is contained in:
Andy Bauer 2017-03-05 10:26:36 -06:00
parent 18ce4ab966
commit b4a04b1d61
1 changed files with 2 additions and 2 deletions

View File

@ -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