From 9c6991e9d75d18f10c6134faa11a08e825cbd695 Mon Sep 17 00:00:00 2001 From: Artem Smirnov Date: Mon, 24 Sep 2018 16:59:46 +0300 Subject: [PATCH] image_builder: fix syntax --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 470a05e6..205877f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,3 @@ -# More info there -# https://github.com/travis-ci/travis-ci/issues/6893 -# https://docs.travis-ci.com/user/customizing-the-build/ -# https://docs.travis-ci.com/user/deployment/releases -# https://docs.travis-ci.com/user/environment-variables/ - sudo: required language: generic services: @@ -28,7 +22,7 @@ git: before_script: - docker pull ${DOCKER} script: - - [[ -z TARGET_REF ]] || exit 1 + - [[ -z TARGET_REF ]] - docker run --privileged --rm -v /dev:/dev -v ${BUILD_DIR}:/builder/image -e "TARGET_REPO=${TARGET_REPO}" -e "TARGET_REF=${TARGET_REF}" ${DOCKER} # after_failure: # - skip_deploy: true @@ -46,3 +40,9 @@ deploy: skip_cleanup: true on: tags: true + +# More info there +# https://github.com/travis-ci/travis-ci/issues/6893 +# https://docs.travis-ci.com/user/customizing-the-build/ +# https://docs.travis-ci.com/user/deployment/releases +# https://docs.travis-ci.com/user/environment-variables/