mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-03-30 11:40:11 +03:00
codecov
This commit is contained in:
parent
04da58c185
commit
f8b651c70f
4 changed files with 16 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
3.3.5
|
||||
3.3.6
|
||||
|
|
|
@ -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…
Add table
Reference in a new issue