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",