diff --git a/.scrutinizer.yml b/.scrutinizer.yml deleted file mode 100644 index 14b657b..0000000 --- a/.scrutinizer.yml +++ /dev/null @@ -1,12 +0,0 @@ -inherit: true - -tools: - external_code_coverage: true - php_code_sniffer: true - php_cpd: true - php_cs_fixer: true - php_loc: true - php_mess_detector: true - php_pdepend: true - php_analyzer: true - sensiolabs_security_checker: true \ No newline at end of file diff --git a/.travis.install.sh b/.travis.install.sh deleted file mode 100644 index 67476f2..0000000 --- a/.travis.install.sh +++ /dev/null @@ -1,46 +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-$MW phase3 - -cd phase3 - -composer self-update --1 -composer install --prefer-source - -if [ "$DB" == "postgres" ] -then - psql -c 'create database its_a_mw;' -U postgres - php maintenance/install.php --dbtype $DBTYPE --dbuser postgres --dbname its_a_mw --pass AdminPassword TravisWiki admin --scriptpath /TravisWiki -else - mysql -e 'create database its_a_mw;' - php maintenance/install.php --dbtype $DBTYPE --dbuser root --dbname its_a_mw --dbpath $(pwd) --pass AdminPassword TravisWiki admin --scriptpath /TravisWiki -fi - -cd extensions - -cp -r $originalDirectory SubPageList - -cd SubPageList -composer install --prefer-source - -[[ ! -z $SMW ]] && composer require "mediawiki/semantic-media-wiki=$SMW" --prefer-source - -cd ../.. - -echo 'require_once( __DIR__ . "/extensions/SubPageList/SubPageList.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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 934265c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,34 +0,0 @@ -language: php - -services: - - mysql - -sudo: false - -matrix: - fast_finish: true - include: - - env: DBTYPE=mysql; MW=master - php: 7.4 - - env: DBTYPE=mysql; MW=1.33.2; TYPE=coverage - php: 7.3 - - env: DBTYPE=sqlite; MW=1.32.6 - php: 7.2 - - env: DBTYPE=mysql; MW=1.31.4 - php: 7.1 - -install: - - travis_retry composer self-update - - bash .travis.install.sh - -script: ../phase3/tests/phpunit/phpunit.php -c ../phase3/extensions/SubPageList/phpunit.xml.dist - -after_success: - - if [[ "$TYPE" != "coverage" ]]; then exit 0; fi - - ../phase3/tests/phpunit/phpunit.php -c ../phase3/extensions/SubPageList/phpunit.xml.dist --coverage-clover coverage.clover - - wget https://scrutinizer-ci.com/ocular.phar - - php ocular.phar code-coverage:upload --format=php-clover coverage.clover - -cache: - directories: - - $HOME/.composer/cache