mirror of https://github.com/rusefi/msqur.git
Fix travis deploying PRs
This commit is contained in:
parent
2f4e442c0b
commit
3d58ebe3d6
17
.travis.yml
17
.travis.yml
|
@ -3,19 +3,22 @@ language: php
|
||||||
php:
|
php:
|
||||||
- '7.2'
|
- '7.2'
|
||||||
|
|
||||||
stages:
|
|
||||||
- test
|
|
||||||
- name: deploy
|
|
||||||
if: branch = msqur.com
|
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- msqur.com
|
- msqur.com
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- test
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: test
|
- stage: test
|
||||||
script: phpunit tests
|
script: phpunit tests
|
||||||
- stage: deploy
|
|
||||||
script: bash deploy.sh
|
deploy:
|
||||||
|
provider: script
|
||||||
|
script: bash deploy.sh
|
||||||
|
on:
|
||||||
|
branch: msqur.com
|
||||||
|
tags: true
|
||||||
|
|
Loading…
Reference in New Issue