Travis

From semantic-mediawiki.org
Jump to: navigation, search
See also
URIs of the form ":Category:Developer_documentation" are not allowed.
Category:Developer_documentation

Travis is a continuous integration tool which is used for SMW development.

As configured in Octocat.png.travis.yml each commit triggers a sequence of checks that are reported per pull request.

github tests/travis/README.md

Octocat.pngtests/travis/README.md
  • install-mediawiki.sh to handle the install of MediaWiki
  • install-semantic-mediawiki.sh to handle the install of Semantic MediaWiki
  • install-services.sh to handle the install of additional services

SPARQL services

Service Connector QueryEndPoint UpdateEndPoint DataEndpoint DefaultGraph Comments
Fuseki (mem)1 Fuseki http://localhost:3030/db/query http://localhost:3030/db/update '' '' fuseki-server --update --port=3030 --mem /db
Fuseki (memTDB) Fuseki http://localhost:3030/db/query http://localhost:3030/db/update '' http://example.org/myFusekiGraph fuseki-server --update --port=3030 --memTDB --set tdb:unionDefaultGraph=true /db
Virtuoso opensource Virtuoso http://localhost:8890/sparql http://localhost:8890/sparql '' http://example.org/myVirtuosoGraph sudo apt-get install virtuoso-opensource
4store2 4store http://localhost:8088/sparql/ http://localhost:8088/update/ '' http://example.org/myFourGraph apt-get install 4store
Sesame Custom http://localhost:8080/openrdf-sesame/repositories/test-smw http://localhost:8080/openrdf-sesame/repositories/test-smw/statements '' `test-smw` is specifed as native in-memory store

1 When running integration tests with Jena Fuseki it is suggested that the in-memory option is used to avoid potential loss of production data during test execution.

2 Currently, Travis-CI doesn't support 4Store (1.1.4-2) as service but the following configuration has been sucessfully tested with the available test suite. (issue #110 )