From 4c9654eac92f1f1851806a61cde706e76582a930 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Thu, 28 Feb 2019 15:57:30 +0300 Subject: [PATCH] test env --- .travis.yml | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 51a0bf34..632a4db4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,7 @@ env: - DB_BITRIX_LOGIN=root - DB_BITRIX_PASS=root - DB_BITRIX_NAME=bitrix + - BITRIX_PATH=$TRAVIS_BUILD_DIR/bitrix before_script: # Change MySQL root password diff --git a/composer.json b/composer.json index b79090c7..4a301494 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "retailcrm/bitrix-module", "scripts": { - "pre-module-install": "cp -R intaro.retailcrm bitrix/bitrix/modules" + "pre-module-install": "cp -R intaro.retailcrm $BITRIX_PATH/bitrix/modules" }, "description": "Integration module for Bitrix & RetailCRM", "type": "bitrix-module",