mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-04-04 05:43:37 +03:00
test
This commit is contained in:
parent
4b57be19e1
commit
3b6b3d0d9d
3 changed files with 6 additions and 3 deletions
|
@ -23,6 +23,10 @@ stages:
|
|||
- test
|
||||
- deploy
|
||||
|
||||
before_install:
|
||||
- export LAST_TAG=`git describe --abbrev=0 --tags`
|
||||
- export CURRENT_VERSION=v`cat VERSION`
|
||||
|
||||
before_script: make before_script
|
||||
|
||||
script: composer test
|
||||
|
|
3
Makefile
3
Makefile
|
@ -23,7 +23,6 @@ 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
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
3.3.6
|
||||
3.3.7
|
||||
|
|
Loading…
Add table
Reference in a new issue