mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-21 20:56:07 +03:00
update travis config
This commit is contained in:
parent
5f60b761f0
commit
bc0d3660ad
@ -38,7 +38,13 @@ jobs:
|
||||
- stage: deploy
|
||||
before_script: skip
|
||||
script: skip
|
||||
before_deploy: make tag
|
||||
before_deploy:
|
||||
- export VERSION=`cat VERSION`
|
||||
- export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip
|
||||
- git config --local user.name "retailCRM"
|
||||
- git config --local user.email "support@retailcrm.ru"
|
||||
- export TRAVIS_TAG=v$VERSION
|
||||
- git tag $TRAVIS_TAG
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key: $GITHUB_OAUTH_TOKEN
|
||||
|
8
Makefile
8
Makefile
@ -21,11 +21,3 @@ before_script:
|
||||
bin/robo --load-from tests/RoboFile.php project:deploy
|
||||
(php -S localhost:8000 -t www &) 2> /dev/null > /dev/null
|
||||
sleep 2
|
||||
|
||||
tag:
|
||||
export VERSION=`cat VERSION`
|
||||
export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip
|
||||
git config --local user.name "retailCRM"
|
||||
git config --local user.email "support@retailcrm.ru"
|
||||
export TRAVIS_TAG=v$VERSION
|
||||
git tag $TRAVIS_TAG
|
Loading…
Reference in New Issue
Block a user