mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-21 20:56:07 +03:00
test
This commit is contained in:
parent
137c83aa66
commit
4b57be19e1
@ -67,11 +67,10 @@ jobs:
|
||||
- git config --local user.email "support@retailcrm.ru"
|
||||
- export TRAVIS_TAG=v$VERSION
|
||||
- git tag $TRAVIS_TAG
|
||||
- export DEPLOY=true
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key: $GITHUB_OAUTH_TOKEN
|
||||
skip_cleanup: true
|
||||
file: $ARCHIVE_NAME
|
||||
if: branch = master AND type = push AND env(DEPLOY) = true
|
||||
if: branch = master AND type = push AND env(CURRENT_VERSION) != env(LAST_TAG)
|
||||
after_deploy: make delete_archive
|
3
Makefile
3
Makefile
@ -23,6 +23,7 @@ before_script:
|
||||
bin/robo --load-from tests/RoboFile.php project:deploy
|
||||
(php -S localhost:8000 -t www &) 2> /dev/null > /dev/null
|
||||
sleep 2
|
||||
|
||||
export LAST_TAG=`git describe --abbrev=0 --tags`
|
||||
export CURRENT_VERSION=v`cat VERSION`
|
||||
covegare:
|
||||
wget https://phar.phpunit.de/phpcov-2.0.2.phar && php phpcov-2.0.2.phar merge coverage/ --clover coverage.xml
|
||||
|
Loading…
Reference in New Issue
Block a user