Docs and matrix to strings

This commit is contained in:
Nabeel Shahzad 2019-05-08 11:17:38 -05:00
parent 12c66e2681
commit 400e4854e8

View File

@ -5,11 +5,13 @@ php:
matrix: matrix:
include: include:
- php: 7.2 - php: '7.2'
- php: 7.3 - php: '7.3'
fast_finish: true fast_finish: true
cache: cache:
# Cache lives for 10 minutes. Default of 3 might not be long enough for all the runs
timeout: 600
directories: directories:
- "$HOME/.composer/cache" - "$HOME/.composer/cache"
- "$HOME/.npm" - "$HOME/.npm"
@ -34,6 +36,7 @@ after_failure:
jobs: jobs:
include: include:
# Just packages up a release
- stage: package - stage: package
script: skip script: skip
before_deploy: before_deploy:
@ -46,6 +49,11 @@ jobs:
script: ./.travis/deploy_script.sh script: ./.travis/deploy_script.sh
on: on:
php: '7.2' php: '7.2'
# RELEASE STAGE
# Only runs when there's a tag applied to this release (tag should be the version)
# This uses Github Releases and posts it there (provider: releases)
# https://docs.travis-ci.com/user/deployment/releases
- stage: release - stage: release
script: skip script: skip
before_deploy: before_deploy: