From 9100c25ce2454792d088034d4be9369c09fccc42 Mon Sep 17 00:00:00 2001 From: gorokh Date: Thu, 18 Jul 2019 12:13:32 +0300 Subject: [PATCH] fix travis --- tests/bin/before_script.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/bin/before_script.sh b/tests/bin/before_script.sh index 3fe6e86..0c5dacd 100644 --- a/tests/bin/before_script.sh +++ b/tests/bin/before_script.sh @@ -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