diff --git a/.ci/semaphore.answers.sh b/.ci/semaphore.answers.sh index 01ae4c8d..187635e4 100755 --- a/.ci/semaphore.answers.sh +++ b/.ci/semaphore.answers.sh @@ -5,7 +5,7 @@ pull_and_build() { docker build -t meetmangukiya/corobo-answers answers/ } -if [[ $BRANCH_NAME != "master" ]] +if [[ $BRANCH_NAME != "master" && $SEMAPHORE_REPO_SLUG != "coala/corobo" ]] then .ci/check_docker.py if [[ $? == 1 ]] diff --git a/.ci/semaphore.docker.sh b/.ci/semaphore.docker.sh index aeb90836..edb4b33f 100755 --- a/.ci/semaphore.docker.sh +++ b/.ci/semaphore.docker.sh @@ -12,6 +12,6 @@ docker run --user root meetmangukiya/corobo /bin/sh -c " python -m pytest " -if [[ $BRANCH_NAME == "master" ]] +if [[ $BRANCH_NAME == "master" && $SEMAPHORE_REPO_SLUG == "coala/corobo" ]] then echo "pushing..." && docker push meetmangukiya/corobo && docker push meetmangukiya/corobo-answers fi