mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-24 14:16:07 +03:00
codecov
This commit is contained in:
parent
04da58c185
commit
f8b651c70f
@ -33,6 +33,8 @@ script: composer test
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
- stage: test
|
||||||
|
after_success: bash <(curl -s https://codecov.io/bash)
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
before_script: skip
|
before_script: skip
|
||||||
script: make build_archive
|
script: make build_archive
|
||||||
|
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
|||||||
FILE = $(TRAVIS_BUILD_DIR)/VERSION
|
FILE = $(TRAVIS_BUILD_DIR)/VERSION
|
||||||
VERSION = `cat $(FILE)`
|
VERSION = `cat $(FILE)`
|
||||||
ARCHIVE_NAME = '/tmp/retailcrm-'$(VERSION)'.zip'
|
ARCHIVE_NAME = '/tmp/retailcrm-'$(VERSION)'.ocmod.zip'
|
||||||
|
|
||||||
all: build_archive send_to_ftp delete_archive
|
all: build_archive send_to_ftp delete_archive
|
||||||
|
|
||||||
|
@ -20,4 +20,16 @@
|
|||||||
<php>
|
<php>
|
||||||
<env name="OC_ROOT" value="./www/" />
|
<env name="OC_ROOT" value="./www/" />
|
||||||
</php>
|
</php>
|
||||||
|
<filter>
|
||||||
|
<whitelist>
|
||||||
|
<directory>src/upload</directory>
|
||||||
|
</whitelist>
|
||||||
|
<blacklist>
|
||||||
|
<directory>src/upload/admin/language</directory>
|
||||||
|
<directory>src/upload/admin/view</directory>
|
||||||
|
</blacklist>
|
||||||
|
</filter>
|
||||||
|
<logging>
|
||||||
|
<log type="coverage-clover" target="coverage.xml"/>
|
||||||
|
</logging>
|
||||||
</phpunit>
|
</phpunit>
|
Loading…
Reference in New Issue
Block a user