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:
|
||||
- '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
|
||||
|
|
Loading…
Reference in New Issue