fix travis

This commit is contained in:
gorokh 2019-07-18 12:13:32 +03:00
parent 30d7b1fac4
commit 9100c25ce2

View File

@ -9,7 +9,12 @@ PRESTASHOP_DIR=$TRAVIS_BUILD_DIR/../PrestaShop
cd $PRESTASHOP_DIR
if [ -z $BRANCH ]; then
cp tests/parameters.yml.travis app/config/parameters.yml
if [ -f "tests/parameters.yml.travis" ]; then
cp tests/parameters.yml.travis app/config/parameters.yml
else
cp tests-legacy/parameters.yml.travis app/config/parameters.yml
fi
bash travis-scripts/install-prestashop
else
bash travis-scripts/install-prestashop.sh