From 447090e43dbeb20cad2ac46346ac8a3888da7933 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Thu, 27 Feb 2020 19:52:52 +0100 Subject: [PATCH] fix CI --- .travis.yml | 8 ++++---- bibtexbrowser-test.php => BibtexbrowserTest.php | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) rename bibtexbrowser-test.php => BibtexbrowserTest.php (99%) diff --git a/.travis.yml b/.travis.yml index 1c9a068..bcfe860 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,14 +5,14 @@ services: - mysql php: - - '7.2' - - '7.3' - - '7.4' + - '7.2' # release 30 November 2017 + - '7.3' # release 6 December 2018 + - '7.4' # release 28 November 2019 script: - curl -L -o reflectivedoc.php https://www.monperrus.net/martin/reflectivedoc.php.txt - curl -L -o gakowiki-syntax.php https://www.monperrus.net/martin/gakowiki-syntax.php.txt - - phpunit bibtexbrowser-test.php + - phpunit BibtexbrowserTest.php # now testing this version of bibtexbrowser with wp-publications # Installing WP-CLI diff --git a/bibtexbrowser-test.php b/BibtexbrowserTest.php similarity index 99% rename from bibtexbrowser-test.php rename to BibtexbrowserTest.php index 655591c..d3d1443 100755 --- a/bibtexbrowser-test.php +++ b/BibtexbrowserTest.php @@ -2,10 +2,10 @@ /** PhPUnit tests for bibtexbrowser To run them: -$ phpunit bibtexbrowser-test.php +$ phpunit BibtexbrowserTest.php With coverage: -$ phpunit --coverage-html ./coverage btb-test.php +$ phpunit --coverage-html ./coverage BibtexbrowserTest.php (be sure that xdebug is enabled: /etc/php5/cli/conf.d# ln -s ../../mods-available/xdebug.ini) */ @@ -59,7 +59,7 @@ class SimpleDisplayExt extends SimpleDisplay { } -class BTBTest extends PHPUnit_Framework_TestCase { +class BibtexbrowserTest extends PHPUnit_Framework_TestCase { public function setUp():void {