update travis config
This commit is contained in:
parent
523e38aa2a
commit
9e62fabf97
2 changed files with 6 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue