phpbb/travis/check-doctum-parse-errors.sh
William Desportes 2b17ecf196
[ticket/16587] Use Doctum phar
PHPBB3-16587
2020-09-07 12:11:31 +02:00

21 lines
552 B
Bash
Executable file

#!/bin/bash
#
# This file is part of the phpBB Forum Software package.
#
# @copyright (c) phpBB Limited <https://www.phpbb.com>
# @license GNU General Public License, version 2 (GPL-2.0)
#
# For full copyright and license information, please see
# the docs/CREDITS.txt file.
#
set -e
DB=$1
TRAVIS_PHP_VERSION=$2
NOTESTS=$3
if [ "$NOTESTS" == '1' ]
then
(cd phpBB/vendor/bin/ && curl -O https://doctum.long-term.support/releases/latest/doctum.phar && chmod +x doctum.phar)
php phpBB/vendor/bin/doctum.phar parse build/doctum-checkout.conf.php -v
fi