mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/12962] Install test dependencies on travis
PHPBB3-12962
This commit is contained in:
parent
77d52982c8
commit
7fa596a991
2 changed files with 21 additions and 0 deletions
16
travis/setup-phpbb-test.sh
Executable file
16
travis/setup-phpbb-test.sh
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/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
|
||||||
|
set -x
|
||||||
|
|
||||||
|
cd tests
|
||||||
|
php ../composer.phar install --dev --no-interaction --prefer-source
|
||||||
|
cd ..
|
|
@ -35,6 +35,11 @@ then
|
||||||
travis/setup-webserver.sh
|
travis/setup-webserver.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.4', '>=');"` == "1" ]
|
||||||
|
then
|
||||||
|
travis/setup-phpbb-test.sh
|
||||||
|
fi
|
||||||
|
|
||||||
cd phpBB
|
cd phpBB
|
||||||
php ../composer.phar install --dev --no-interaction --prefer-source
|
php ../composer.phar install --dev --no-interaction --prefer-source
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Add table
Reference in a new issue