From f8b651c70f5754289699d54f00fcebb9d41741af Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 16:16:39 +0300 Subject: [PATCH] codecov --- .travis.yml | 2 ++ Makefile | 2 +- VERSION | 2 +- phpunit.xml.dist | 12 ++++++++++++ 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d2e985..937dd95 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Makefile b/Makefile index 63cffa5..345e542 100644 --- a/Makefile +++ b/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 diff --git a/VERSION b/VERSION index fa7adc7..9c25013 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.3.5 +3.3.6 diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 90272e8..dd3060a 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -20,4 +20,16 @@ + + + src/upload + + + src/upload/admin/language + src/upload/admin/view + + + + + \ No newline at end of file