Tweak CI config

This commit is contained in:
Pig Fang 2019-03-15 18:06:40 +08:00
parent 9ec677dacd
commit 95472adfbd

View File

@ -87,17 +87,32 @@ workflows:
version: 2 version: 2
install_and_test: install_and_test:
jobs: jobs:
- frontend - frontend:
- composer filters:
tags:
only: /^v\d+\.\d+\.\d+/
- composer:
filters:
tags:
only: /^v\d+\.\d+\.\d+/
- php7.1: - php7.1:
requires: requires:
- composer - composer
filters:
tags:
only: /^v\d+\.\d+\.\d+/
- php7.2: - php7.2:
requires: requires:
- composer - composer
filters:
tags:
only: /^v\d+\.\d+\.\d+/
- php7.3: - php7.3:
requires: requires:
- composer - composer
filters:
tags:
only: /^v\d+\.\d+\.\d+/
- release: - release:
requires: requires:
- php7.1 - php7.1
@ -106,6 +121,6 @@ workflows:
- frontend - frontend
filters: filters:
branches: branches:
only: v4 ignore: /.*/
tags: tags:
only: /^v\d+\.\d+\.\d+/ only: /^v\d+\.\d+\.\d+/