Skip to content
Snippets Groups Projects
Commit ca3ae3ba authored by llaffont's avatar llaffont
Browse files

Gitlab CI integration: update submodules recursively

parent ba7776ac
Branches
Tags
No related merge requests found
#!/bin/sh
COVERAGE_DIR="coverage/$(basename "$PWD")/${CI_BUILD_REF_NAME}/${CI_BUILD_ID}"
git submodule init
git submodule update
source ./update.sh
phpunit -c tests/phpunit.xml --coverage-text=coverage.txt --coverage-html="../${COVERAGE_DIR}"
echo "</pre>"
echo "<a href='/${COVERAGE_DIR}'>Code coverage</a>"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment