1
0
Fork 0
mirror of synced 2025-04-20 01:21:01 +00:00

update travis config

This commit is contained in:
Akolzin Dmitry 2020-03-17 11:09:39 +03:00
parent 523e38aa2a
commit 9e62fabf97
2 changed files with 6 additions and 1 deletions

View file

@ -1,7 +1,11 @@
ROOT_DIR=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
test: prepare_module
ifeq ($(NOT_USE_VENDOR),1)
composer tests7
else
composer tests
endif
prepare_module: deps
composer pre-module-install

View file

@ -2,7 +2,8 @@
"name": "retailcrm/bitrix-module",
"scripts": {
"pre-module-install": "cp -R intaro.retailcrm $BITRIX_PATH/bitrix/modules",
"tests": "phpunit -c phpunit.xml.dist --whitelist=$BITRIX_PATH/bitrix/modules/intaro.retailcrm"
"tests": "php vendor/bin/phpunit -c phpunit.xml.dist --whitelist=$BITRIX_PATH/bitrix/modules/intaro.retailcrm",
"tests7": "phpunit -c phpunit.xml.dist --whitelist=$BITRIX_PATH/bitrix/modules/intaro.retailcrm"
},
"description": "Integration module for Bitrix & RetailCRM",
"type": "bitrix-module",