diff --git a/.ci/install.sh b/.ci/install.sh index 37d21fb9c..dc22059f9 100755 --- a/.ci/install.sh +++ b/.ci/install.sh @@ -2,8 +2,6 @@ # The script is intended for use on Travis with Trusty distribution -set -x - DIR=$(dirname $0) # Enable xdebug for code coverage diff --git a/.ci/run.sh b/.ci/run.sh index f15a43684..921db2c57 100755 --- a/.ci/run.sh +++ b/.ci/run.sh @@ -3,11 +3,12 @@ # The script is intended for use on Travis with Trusty distribution # It executes unit and functional tests -cd .. +DIR=$(dirname $0) +cd $DIR/.. if [ "$CODE_COVERAGE" = 1 ] then - CODE_COVERAGE_ARGS="--coverage-text"; + CODE_COVERAGE_ARGS="--coverage-text" fi vendor/bin/phpunit -c tests/phpunit.xml $CODE_COVERAGE_ARGS