Restrict builds to main phpvms repo
This commit is contained in:
+8
-1
@@ -1,3 +1,7 @@
|
|||||||
|
#
|
||||||
|
# Travis CI config file
|
||||||
|
#
|
||||||
|
|
||||||
language: php
|
language: php
|
||||||
php:
|
php:
|
||||||
- '7.2'
|
- '7.2'
|
||||||
@@ -10,7 +14,8 @@ matrix:
|
|||||||
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
|
# Cache lives for 10 min
|
||||||
|
# Default of 3m might not be long enough for all the runs
|
||||||
timeout: 600
|
timeout: 600
|
||||||
directories:
|
directories:
|
||||||
- "$HOME/.composer/cache"
|
- "$HOME/.composer/cache"
|
||||||
@@ -41,6 +46,7 @@ jobs:
|
|||||||
script: skip
|
script: skip
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/6b10798/install | bash
|
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/6b10798/install | bash
|
||||||
|
|
||||||
# Configure the conditional deployment
|
# Configure the conditional deployment
|
||||||
# https://docs.travis-ci.com/user/deployment/#examples-of-conditional-deployment
|
# https://docs.travis-ci.com/user/deployment/#examples-of-conditional-deployment
|
||||||
deploy:
|
deploy:
|
||||||
@@ -49,6 +55,7 @@ jobs:
|
|||||||
script: ./.travis/deploy_script.sh
|
script: ./.travis/deploy_script.sh
|
||||||
on:
|
on:
|
||||||
all_branches: true
|
all_branches: true
|
||||||
|
repo: nabeelio/phpvms
|
||||||
php: '7.2'
|
php: '7.2'
|
||||||
|
|
||||||
# RELEASE STAGE
|
# RELEASE STAGE
|
||||||
|
|||||||
Reference in New Issue
Block a user