mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-21 20:56:07 +03:00
skipping builds on tags
This commit is contained in:
parent
bc0d3660ad
commit
04da58c185
10
.travis.yml
10
.travis.yml
@ -4,6 +4,8 @@ dist: trusty
|
||||
|
||||
sudo: false
|
||||
|
||||
if: tag IS blank
|
||||
|
||||
php:
|
||||
- 7.0
|
||||
- 7.1
|
||||
@ -23,7 +25,6 @@ env:
|
||||
|
||||
stages:
|
||||
- test
|
||||
- build
|
||||
- deploy
|
||||
|
||||
before_script: make before_script
|
||||
@ -32,12 +33,9 @@ script: composer test
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: build
|
||||
before_script: skip
|
||||
script: make build_archive
|
||||
- stage: deploy
|
||||
before_script: skip
|
||||
script: skip
|
||||
script: make build_archive
|
||||
before_deploy:
|
||||
- export VERSION=`cat VERSION`
|
||||
- export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip
|
||||
@ -50,5 +48,5 @@ jobs:
|
||||
api_key: $GITHUB_OAUTH_TOKEN
|
||||
skip_cleanup: true
|
||||
file: $ARCHIVE_NAME
|
||||
if: (branch = master) AND (type = push) AND (fork = true)
|
||||
if: (branch = master) AND (type = push) AND (fork = false)
|
||||
after_deploy: make delete_archive
|
Loading…
Reference in New Issue
Block a user