{"id":21485548,"url":"https://github.com/m0a/travis_ci_sample","last_synced_at":"2025-08-13T11:31:06.013Z","repository":{"id":16878971,"uuid":"19639455","full_name":"m0a/travis_ci_sample","owner":"m0a","description":"Travis CIをさわってみるためのサンプル","archived":false,"fork":false,"pushed_at":"2014-05-10T11:08:01.000Z","size":7424,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-15T08:46:45.386Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"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/m0a.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-05-10T11:06:18.000Z","updated_at":"2016-12-26T02:14:10.000Z","dependencies_parsed_at":"2022-08-25T07:00:31.170Z","dependency_job_id":null,"html_url":"https://github.com/m0a/travis_ci_sample","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/m0a%2Ftravis_ci_sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0a%2Ftravis_ci_sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0a%2Ftravis_ci_sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0a%2Ftravis_ci_sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m0a","download_url":"https://codeload.github.com/m0a/travis_ci_sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244013319,"owners_count":20383707,"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":[],"created_at":"2024-11-23T13:16:30.365Z","updated_at":"2025-03-17T09:46:03.825Z","avatar_url":"https://github.com/m0a.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# travis_ci_sample\nTravis CIをさわってみるためのサンプル\n\n----\n## 入っているもの\n### Calculator.php\nテスト対象のクラスファイル。  \n2個の引数の和を返すaddメソッドを持つ。\n\n### tests/CalculatorTest.php\nCalculatorクラスのテスト。  \naddメソッドに引数1と2を渡し、3が返ってくるかどうかのテストケースが入っている。\n\n### vendor/\ncomposerで入れたphpunitとかtestrunnerとか。\n\n----\n## とりあえず手動でphpunitでテストするには\n`./vendor/bin/phpunit tests/CalculatorTest.php`\n\n----\n## それをtestrunnerでテストするには\n\n`./vendor/bin/testrunner phpunit -p vendor/autoload.php -a tests`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm0a%2Ftravis_ci_sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm0a%2Ftravis_ci_sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm0a%2Ftravis_ci_sample/lists"}