Fix travis deploying PRs

This commit is contained in:
Nick 2019-11-06 22:28:23 -06:00
parent 2f4e442c0b
commit 3d58ebe3d6
1 changed files with 10 additions and 7 deletions

View File

@ -3,19 +3,22 @@ language: php
php:
- '7.2'
stages:
- test
- name: deploy
if: branch = msqur.com
branches:
only:
- master
- msqur.com
stages:
- test
jobs:
include:
- stage: test
script: phpunit tests
- stage: deploy
script: bash deploy.sh
deploy:
provider: script
script: bash deploy.sh
on:
branch: msqur.com
tags: true