diff options
Diffstat (limited to 'Validator/build/travis/before_script.sh')
-rw-r--r-- | Validator/build/travis/before_script.sh | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/Validator/build/travis/before_script.sh b/Validator/build/travis/before_script.sh deleted file mode 100644 index 0ad54454..00000000 --- a/Validator/build/travis/before_script.sh +++ /dev/null @@ -1,38 +0,0 @@ -#! /bin/bash - -set -x - -originalDirectory=$(pwd) - -cd .. - -wget https://github.com/wikimedia/mediawiki-core/archive/$MW.tar.gz -tar -zxf $MW.tar.gz -mv mediawiki-core-$MW phase3 - -cd phase3 - -git checkout $MW - -mysql -e 'create database its_a_mw;' -php maintenance/install.php --dbtype $DBTYPE --dbuser root --dbname its_a_mw --dbpath $(pwd) --pass nyan TravisWiki admin - -cd extensions - -cp -r $originalDirectory Validator - -cd Validator -composer install --prefer-source -composer require 'phpunit/phpunit=3.7.*' --prefer-source - -cd ../.. - -echo 'require_once( __DIR__ . "/extensions/Validator/Validator.php" );' >> LocalSettings.php - -echo 'error_reporting(E_ALL| E_STRICT);' >> LocalSettings.php -echo 'ini_set("display_errors", 1);' >> LocalSettings.php -echo '$wgShowExceptionDetails = true;' >> LocalSettings.php -echo '$wgDevelopmentWarnings = true;' >> LocalSettings.php -echo "putenv( 'MW_INSTALL_PATH=$(pwd)' );" >> LocalSettings.php - -php maintenance/update.php --quick |