prestashop-module/tests/bin/before_script.sh

17 lines
318 B
Bash
Raw Normal View History

2018-05-30 09:58:53 +03:00
#!/usr/bin/env bash
if [ -z $TRAVIS_BUILD_DIR ]; then
exit 0;
fi
PRESTASHOP_DIR=$TRAVIS_BUILD_DIR/../PrestaShop
cd $PRESTASHOP_DIR
2018-05-30 10:14:25 +03:00
if [ -z $BRANCH ]; then
cp tests/parameters.yml.travis app/config/parameters.yml
2018-05-30 11:22:53 +03:00
bash travis-scripts/install-prestashop
else
bash travis-scripts/install-prestashop.sh
2018-05-30 10:14:25 +03:00
fi