Hi,
I set up a simple PHP project on GitHub using the git-flow model. Currently, I have only two branches master
and develop
. I’m frequently pushing to develop
and only want develop
to be built currently, but the build on CircleCI is not triggered. (I can start a build using the API, though)
Here is my config that is mainly based on the default config, what am I doing wrong?
version: 2
jobs:
build:
docker:
- image: circleci/php:7.2.9-apache-node-browsers
branches:
only:
- develop
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "composer.json" }}
- v1-dependencies-
- run: composer install -n --prefer-dist
- save_cache:
paths:
- ./vendor
key: v1-dependencies-{{ checksum "composer.json" }}
- run: ./vendor/bin/phpunit
Ping @FelicianoTech
Thanks for any help,
Matthias