Blacklisting and whitelisting branch behave strangely


#1

Im trying to whitelisting test branch and blacklist all other branch. But it sometimes work and sometimes not, some commit form another branch for example develop still process by circle ci, here the screenshot

As you can see, some commit in develop are skipped but some are not.

here is my circle ci config

general:
    branches:
        only:
            - test
        ignore:
            - master
            - develop
            - sandbox
            - hotfix
            - /release\/.*/
            - /feature\/.*/
machine:
    php:
        version: 7.0.7
    python:
        version: 2.7.3
    services:
        - docker

dependencies:
    override:
        - pip install awsebcli
        - pip install awscli --ignore-installed six

test:
    override:
        - git status
        - php -v

deployment:
    docker:
        branch: test
        commands:
            - git checkout test
            - sh push-docker-image.sh
            - eb deploy --profile default

#2