mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-25 06:36:06 +03:00
test deploy
This commit is contained in:
parent
090a4b6cfa
commit
9e1edf2fcc
25
.travis.yml
25
.travis.yml
@ -32,15 +32,20 @@ before_script:
|
|||||||
- (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null
|
- (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null
|
||||||
- sleep 2
|
- sleep 2
|
||||||
|
|
||||||
|
script:
|
||||||
|
- composer test
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- script: composer test
|
- stage: GitHub Release
|
||||||
|
script: make build_archive
|
||||||
deploy:
|
before_deploy:
|
||||||
skip_cleanup: true
|
- `cat VERSION|awk '{print "export ARCHIVE_NAME=retailcrm-"$1".zip"}'`
|
||||||
provider: script
|
deploy:
|
||||||
script: make
|
provider: releases
|
||||||
on:
|
api_key: $GITHUB_OAUTH_TOKEN
|
||||||
php: 7.1
|
skip_cleanup: true
|
||||||
branch: master
|
file: $ARCHIVE_NAME
|
||||||
condition: "$DEPLOY = true"
|
on:
|
||||||
|
php: 7.1
|
||||||
|
branch: master
|
Loading…
Reference in New Issue
Block a user