fix CI
This commit is contained in:
+4
-4
@@ -5,14 +5,14 @@ services:
|
|||||||
- mysql
|
- mysql
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- '7.2'
|
- '7.2' # release 30 November 2017
|
||||||
- '7.3'
|
- '7.3' # release 6 December 2018
|
||||||
- '7.4'
|
- '7.4' # release 28 November 2019
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- curl -L -o reflectivedoc.php https://www.monperrus.net/martin/reflectivedoc.php.txt
|
- 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
|
- 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
|
# now testing this version of bibtexbrowser with wp-publications
|
||||||
# Installing WP-CLI
|
# Installing WP-CLI
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
/** PhPUnit tests for bibtexbrowser
|
/** PhPUnit tests for bibtexbrowser
|
||||||
|
|
||||||
To run them:
|
To run them:
|
||||||
$ phpunit bibtexbrowser-test.php
|
$ phpunit BibtexbrowserTest.php
|
||||||
|
|
||||||
With coverage:
|
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)
|
(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
|
public function setUp():void
|
||||||
{
|
{
|
||||||
Reference in New Issue
Block a user