This commit is contained in:
Akolzin Dmitry 2020-02-18 16:16:39 +03:00
parent 04da58c185
commit f8b651c70f
4 changed files with 16 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -1 +1 @@
3.3.5
3.3.6

View File

@ -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>