{"id":15389157,"url":"https://github.com/splitbrain/dokuwiki-travis","last_synced_at":"2025-04-15T20:23:15.299Z","repository":{"id":12955531,"uuid":"15633778","full_name":"splitbrain/dokuwiki-travis","owner":"splitbrain","description":"Environment setup script for testing DokuWiki plugins on travis-ci","archived":false,"fork":false,"pushed_at":"2020-04-07T10:45:20.000Z","size":13,"stargazers_count":6,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T01:02:35.918Z","etag":null,"topics":["dokuwiki","travis-ci","unit-testing"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/splitbrain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-04T14:48:52.000Z","updated_at":"2020-04-07T10:45:22.000Z","dependencies_parsed_at":"2022-09-07T07:20:36.149Z","dependency_job_id":null,"html_url":"https://github.com/splitbrain/dokuwiki-travis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitbrain%2Fdokuwiki-travis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitbrain%2Fdokuwiki-travis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitbrain%2Fdokuwiki-travis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitbrain%2Fdokuwiki-travis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/splitbrain","download_url":"https://codeload.github.com/splitbrain/dokuwiki-travis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249146080,"owners_count":21220079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dokuwiki","travis-ci","unit-testing"],"created_at":"2024-10-01T14:59:35.468Z","updated_at":"2025-04-15T20:23:15.276Z","avatar_url":"https://github.com/splitbrain.png","language":"Shell","readme":"Travis CI testing for DokuWiki plugins\n======================================\n\nThis repository contains a script that can be used in\n[Travis CI](https://travis-ci.org) or [Gitlab-CI](https://about.gitlab.com/gitlab-ci/)\nto setup the DokuWiki environment to test a single plugin.\n\nSetup\n-----\n\nUse it like this in ``.travis.yml``:\n\n```\nlanguage: php\nphp:\n  - \"7.4\"\n  - \"7.3\"\n  - \"7.2\"\n  - \"7.1\"\n  - \"7.0\"\n  - \"5.6\"\nenv:\n  - DOKUWIKI=master\n  - DOKUWIKI=stable\n  - DOKUWIKI=old-stable\nbefore_install: wget https://raw.github.com/splitbrain/dokuwiki-travis/master/travis.sh\ninstall: sh travis.sh\nscript: cd _test \u0026\u0026 ./phpunit.phar --stderr --group plugin_something\n```\n\nAs you can see, you can specify the PHP versions and DokuWiki releases your plugin\nshould be tested against.\n\nPlugins with dependencies\n-------------------------\n\nIf your tests require additional plugins to be installed, provide a ``requirements.txt``\nfile in your plugin's root directory. It should contain arguments to the git clone command,\neg. the source repository and the target directory. The latter needs to be a full path\nin the DokuWiki hierarchy.\n\nHere's an example ``requirements.txt`` file:\n\n```\n# additional requirements for this plugin:\nhttps://github.com/cosmocode/sqlite.git                         lib/plugins/sqlite\nhttps://github.com/splitbrain/dokuwiki-plugin-translation.git   lib/plugins/translation\n```\n\nIf your plugin needs any additional setup before testing you need to provide your own\nscript to be run in the ``before_script`` step of ``.travis.yml``. Refer to the travis\ndocs on how to do that.\n\nMore info\n---------\n\nMore info on Unit Testing in DokuWiki is available at https://www.dokuwiki.org/devel:unittesting\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplitbrain%2Fdokuwiki-travis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplitbrain%2Fdokuwiki-travis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplitbrain%2Fdokuwiki-travis/lists"}