This commit is contained in:
morsh 2018-01-08 21:27:21 +02:00
Родитель 7eedf642e9
Коммит 4d724d8d14
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -16,6 +16,14 @@ log() {
} }
ensure_preconditions_met() { ensure_preconditions_met() {
log "TRAVIS_BRANCH: ${TRAVIS_BRANCH}"
log "TRAVIS_PULL_REQUEST: ${TRAVIS_PULL_REQUEST}"
log "TRAVIS_PULL_REQUEST_BRANCH: ${TRAVIS_PULL_REQUEST_BRANCH}"
log "TRAVIS_COMMIT: ${TRAVIS_COMMIT}"
log "TRAVIS_COMMIT_MESSAGE: ${TRAVIS_COMMIT_MESSAGE}"
log "TRAVIS_COMMIT_RANGE: ${TRAVIS_COMMIT_RANGE}"
if [ -z "${TRAVIS_PULL_REQUEST_BRANCH}" ]; then if [ -z "${TRAVIS_PULL_REQUEST_BRANCH}" ]; then
log "Job is CI for a push, skipping creation of production build" log "Job is CI for a push, skipping creation of production build"
exit 0 exit 0