mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-05 22:14:59 +02:00
[ticket/16587] Clean the TravisCI Doctum script and update build file
PHPBB3-16587
This commit is contained in:
parent
322f8eabd6
commit
4dada87d32
@ -128,13 +128,13 @@
|
|||||||
<!-- Builds docs for current branch into build/api/output/master -->
|
<!-- Builds docs for current branch into build/api/output/master -->
|
||||||
<target name="docs">
|
<target name="docs">
|
||||||
<exec dir="."
|
<exec dir="."
|
||||||
command="phpBB/vendor/bin/sami.php update build/sami-checkout.conf.php"
|
command="php doctum.phar update build/doctum-checkout.conf.php"
|
||||||
passthru="true" />
|
passthru="true" />
|
||||||
</target>
|
</target>
|
||||||
<!-- Builds docs for multiple branches/tags into build/api/output/$branch -->
|
<!-- Builds docs for multiple branches/tags into build/api/output/$branch -->
|
||||||
<target name="docs-all">
|
<target name="docs-all">
|
||||||
<exec dir="."
|
<exec dir="."
|
||||||
command="phpBB/vendor/bin/sami.php update build/sami-all.conf.php"
|
command="php doctum.phar update build/doctum-all.conf.php"
|
||||||
passthru="true" />
|
passthru="true" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
@ -16,6 +16,17 @@ NOTESTS=$3
|
|||||||
|
|
||||||
if [ "$NOTESTS" == '1' ]
|
if [ "$NOTESTS" == '1' ]
|
||||||
then
|
then
|
||||||
(cd phpBB/vendor/bin/ && curl -O https://doctum.long-term.support/releases/latest/doctum.phar && chmod +x doctum.phar)
|
if [ ! -f doctum.phar ]; then
|
||||||
php phpBB/vendor/bin/doctum.phar parse build/doctum-checkout.conf.php -v
|
# Download the latest release
|
||||||
|
curl -O https://doctum.long-term.support/releases/5.1/doctum.phar
|
||||||
|
rm -f doctum.phar.sha256
|
||||||
|
curl -O https://doctum.long-term.support/releases/5.1/doctum.phar.sha256
|
||||||
|
sha256sum --strict --check doctum.phar.sha256
|
||||||
|
rm -f doctum.phar.sha256
|
||||||
|
# You can fetch the latest (5.1.x) version code here:
|
||||||
|
# https://doctum.long-term.support/releases/5.1/VERSION
|
||||||
|
fi
|
||||||
|
# Show the version to inform users of the script
|
||||||
|
php doctum.phar --version
|
||||||
|
php doctum.phar parse build/doctum-checkout.conf.php -v
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user