SemanticMediaWiki / SemanticScribunto

Provides service functions to support the Scribunto extension
Other
23 stars 14 forks source link

travis: load Scribunto via extension registration #65

Closed lucaswerkmeister closed 5 years ago

lucaswerkmeister commented 5 years ago

The PHP entry point was removed in change I525c6e5b1c.

This PR is made in reference to: none

This PR addresses or contains:

This PR includes:

Fixes none

lucaswerkmeister commented 5 years ago

Travis is failing for a different reason:

+cd extensions
+cd SemanticScribunto
+'[' false '!=' false ']'
+git fetch origin travis
fatal: Couldn't find remote ref travis
The command "bash ./tests/travis/install-semantic-scribunto.sh" failed and exited with 128 during .

In #60 it also failed (though with a different error), so I suspect your Travis integration doesn’t quite work for pull requests from other repositories :/

mwjames commented 5 years ago

The PHP entry point was removed in change I525c6e5b1c.

Thanks.

In #60 it also failed (though with a different error), so I suspect your Travis integration doesn’t quite work for pull requests from other repositories :/

Generally it works, we just needed to make some changes to fetch to correct Scribunto version which has been fixed in #66 and also includes the call to wfLoadExtension( "Scribunto" ).

Using PHP 7.1.11

Semantic Scribunto: 2.1.0-alpha
Lua version:        Lua 5.1.5

Semantic MediaWiki: 3.1.0-alpha, git: 8e0a269, SMWSQLStore (mysql:5.6.33-0ubuntu0.14.04.1)
MediaWiki:          1.32.3, git: n/a, MediaWiki vendor autoloader
Site language:      en

Execution time:     2019-08-04 03:28
Debug logs:         Disabled
Xdebug:             2.5.5

PHPUnit 6.5.14 by Sebastian Bergmann and contributors.

Runtime:       PHP 7.1.11 with Xdebug 2.5.5
Configuration: /home/travis/build/SemanticMediaWiki/mw/extensions/SemanticScribunto/phpunit.xml.dist

.....................S.......S.......S......S.....S............  63 / 152 ( 41%)
..S......................S..................................... 126 / 152 ( 82%)
..........................                                      152 / 152 (100%)                                  152 / 152 (100%)