mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
[ticket/14484] Move facebook/webdriver back to tests dir composer.json
This will make sure we don't try to install it to incompatible PHP 5.3.3. PHPBB3-14484
This commit is contained in:
parent
29d2c66922
commit
ef132e1531
6 changed files with 87 additions and 47 deletions
|
@ -38,7 +38,6 @@
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"fabpot/goutte": "1.0.*",
|
"fabpot/goutte": "1.0.*",
|
||||||
"facebook/webdriver": "~1.1",
|
|
||||||
"phing/phing": "2.4.*",
|
"phing/phing": "2.4.*",
|
||||||
"phpunit/dbunit": "1.3.*",
|
"phpunit/dbunit": "1.3.*",
|
||||||
"phpunit/phpunit": "4.1.*",
|
"phpunit/phpunit": "4.1.*",
|
||||||
|
|
48
phpBB/composer.lock
generated
48
phpBB/composer.lock
generated
|
@ -4,8 +4,8 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"hash": "b947a331fff3c804e6c392afc34d00fa",
|
"hash": "33fa9de480a8a9c8f7e3f2926cd4c034",
|
||||||
"content-hash": "29849b951e00868df661e632857969ac",
|
"content-hash": "2d9c1857e65554ceb4cfa435495df188",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "lusitanian/oauth",
|
"name": "lusitanian/oauth",
|
||||||
|
@ -863,50 +863,6 @@
|
||||||
],
|
],
|
||||||
"time": "2014-10-09 15:52:51"
|
"time": "2014-10-09 15:52:51"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "facebook/webdriver",
|
|
||||||
"version": "1.1.2",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/facebook/php-webdriver.git",
|
|
||||||
"reference": "0b889d7de7461439f8a3bbcca46e0f696cb27986"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/facebook/php-webdriver/zipball/0b889d7de7461439f8a3bbcca46e0f696cb27986",
|
|
||||||
"reference": "0b889d7de7461439f8a3bbcca46e0f696cb27986",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"ext-curl": "*",
|
|
||||||
"php": ">=5.3.19"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "4.6.*"
|
|
||||||
},
|
|
||||||
"suggest": {
|
|
||||||
"phpdocumentor/phpdocumentor": "2.*"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Facebook\\WebDriver\\": "lib/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"Apache-2.0"
|
|
||||||
],
|
|
||||||
"description": "A PHP client for WebDriver",
|
|
||||||
"homepage": "https://github.com/facebook/php-webdriver",
|
|
||||||
"keywords": [
|
|
||||||
"facebook",
|
|
||||||
"php",
|
|
||||||
"selenium",
|
|
||||||
"webdriver"
|
|
||||||
],
|
|
||||||
"time": "2016-06-04 00:02:34"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "guzzle/common",
|
"name": "guzzle/common",
|
||||||
"version": "v3.9.2",
|
"version": "v3.9.2",
|
||||||
|
|
5
tests/composer.json
Normal file
5
tests/composer.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"require-dev": {
|
||||||
|
"facebook/webdriver": "~1.1"
|
||||||
|
}
|
||||||
|
}
|
63
tests/composer.lock
generated
Normal file
63
tests/composer.lock
generated
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
{
|
||||||
|
"_readme": [
|
||||||
|
"This file locks the dependencies of your project to a known state",
|
||||||
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||||
|
"This file is @generated automatically"
|
||||||
|
],
|
||||||
|
"hash": "25ad22c35c19f2b0a2331640fb6b5577",
|
||||||
|
"content-hash": "617c33144bd2877c3c9a78f167a871b6",
|
||||||
|
"packages": [],
|
||||||
|
"packages-dev": [
|
||||||
|
{
|
||||||
|
"name": "facebook/webdriver",
|
||||||
|
"version": "1.1.2",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/facebook/php-webdriver.git",
|
||||||
|
"reference": "0b889d7de7461439f8a3bbcca46e0f696cb27986"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/facebook/php-webdriver/zipball/0b889d7de7461439f8a3bbcca46e0f696cb27986",
|
||||||
|
"reference": "0b889d7de7461439f8a3bbcca46e0f696cb27986",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-curl": "*",
|
||||||
|
"php": ">=5.3.19"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "4.6.*"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"phpdocumentor/phpdocumentor": "2.*"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Facebook\\WebDriver\\": "lib/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"Apache-2.0"
|
||||||
|
],
|
||||||
|
"description": "A PHP client for WebDriver",
|
||||||
|
"homepage": "https://github.com/facebook/php-webdriver",
|
||||||
|
"keywords": [
|
||||||
|
"facebook",
|
||||||
|
"php",
|
||||||
|
"selenium",
|
||||||
|
"webdriver"
|
||||||
|
],
|
||||||
|
"time": "2016-06-04 00:02:34"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"aliases": [],
|
||||||
|
"minimum-stability": "stable",
|
||||||
|
"stability-flags": [],
|
||||||
|
"prefer-stable": false,
|
||||||
|
"prefer-lowest": false,
|
||||||
|
"platform": [],
|
||||||
|
"platform-dev": []
|
||||||
|
}
|
16
travis/install-phpbb-test-dependencies.sh
Executable file
16
travis/install-phpbb-test-dependencies.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 ..
|
|
@ -33,6 +33,7 @@ fi
|
||||||
if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.3.19', '>=');"` == "1" ]
|
if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.3.19', '>=');"` == "1" ]
|
||||||
then
|
then
|
||||||
travis/setup-webserver.sh
|
travis/setup-webserver.sh
|
||||||
|
travis/install-phpbb-test-dependencies.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd phpBB
|
cd phpBB
|
||||||
|
|
Loading…
Add table
Reference in a new issue