Test conditional job with travis

This commit is contained in:
Laurent Destailleur 2020-11-26 10:15:12 +01:00
parent c7e5b0dcc1
commit 09d0ec391d

View File

@ -57,12 +57,10 @@ jobs:
- php: nightly - php: nightly
env: DB=postgresql env: DB=postgresql
include: include:
- if: type = pull_request
php: '7.4'
- if: type = push - if: type = push
php: php: '5.6'
- '5.6' - if: type = pull_request OR type = push
- '7.4' php: '7.4'
- if: type = push AND branch = develop - if: type = push AND branch = develop
php: nightly php: nightly