Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,20 @@ jobs:
script:
- vendor/bin/phpcs -p

stages:
- Test
- name: Code Quality
if: type = pull_request

allow_failures:
- php: nightly

cache:
directories:
- $HOME/.composer/cache/files

branches:
only:
- master
if: |
branch = master OR \
branch =~ /^(?:[0-9]|[1-9][0-9]*)\.(?:[0-9]|[1-9][0-9]*)$/ OR \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version branches are probably a necessary evil for minor versions for releasing open source packages. The more complex this is the more we should start to extract it from the single repository into a template.

tag IS present OR \
type = pull_request