mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-28 08:06:05 +03:00
codecov
This commit is contained in:
parent
04da58c185
commit
f8b651c70f
@ -33,6 +33,8 @@ script: composer test
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: test
|
||||
after_success: bash <(curl -s https://codecov.io/bash)
|
||||
- stage: deploy
|
||||
before_script: skip
|
||||
script: make build_archive
|
||||
|
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
FILE = $(TRAVIS_BUILD_DIR)/VERSION
|
||||
VERSION = `cat $(FILE)`
|
||||
ARCHIVE_NAME = '/tmp/retailcrm-'$(VERSION)'.zip'
|
||||
ARCHIVE_NAME = '/tmp/retailcrm-'$(VERSION)'.ocmod.zip'
|
||||
|
||||
all: build_archive send_to_ftp delete_archive
|
||||
|
||||
|
@ -20,4 +20,16 @@
|
||||
<php>
|
||||
<env name="OC_ROOT" value="./www/" />
|
||||
</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>
|
Loading…
Reference in New Issue
Block a user