diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2014-09-21 13:25:32 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2014-09-21 14:24:36 +0530 |
commit | 7fa596a991add3e47c7e5a7033256073f1a50198 (patch) | |
tree | d6e67612a9e1dd3bbbfe1f1d4559e6e63f26344b /travis | |
parent | 77d52982c8b8e0a6366b361ee0d2fe8cf588b5d7 (diff) | |
download | forums-7fa596a991add3e47c7e5a7033256073f1a50198.tar forums-7fa596a991add3e47c7e5a7033256073f1a50198.tar.gz forums-7fa596a991add3e47c7e5a7033256073f1a50198.tar.bz2 forums-7fa596a991add3e47c7e5a7033256073f1a50198.tar.xz forums-7fa596a991add3e47c7e5a7033256073f1a50198.zip |
[ticket/12962] Install test dependencies on travis
PHPBB3-12962
Diffstat (limited to 'travis')
-rwxr-xr-x | travis/setup-phpbb-test.sh | 16 | ||||
-rwxr-xr-x | travis/setup-phpbb.sh | 5 |
2 files changed, 21 insertions, 0 deletions
diff --git a/travis/setup-phpbb-test.sh b/travis/setup-phpbb-test.sh new file mode 100755 index 0000000000..25743ff2b1 --- /dev/null +++ b/travis/setup-phpbb-test.sh @@ -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 .. diff --git a/travis/setup-phpbb.sh b/travis/setup-phpbb.sh index d829772196..e1b7a782c6 100755 --- a/travis/setup-phpbb.sh +++ b/travis/setup-phpbb.sh @@ -35,6 +35,11 @@ then travis/setup-webserver.sh fi +if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.4', '>=');"` == "1" ] +then + travis/setup-phpbb-test.sh +fi + cd phpBB php ../composer.phar install --dev --no-interaction --prefer-source cd .. |