{"id":13426584,"url":"https://github.com/vadimdemedes/trevor","last_synced_at":"2025-05-15T06:05:48.156Z","repository":{"id":45752466,"uuid":"43486047","full_name":"vadimdemedes/trevor","owner":"vadimdemedes","description":"🚦 Your own mini Travis CI to run tests locally","archived":false,"fork":false,"pushed_at":"2019-11-23T20:08:15.000Z","size":2817,"stargazers_count":2111,"open_issues_count":12,"forks_count":51,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-05-02T03:27:06.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vadimdemedes.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-01T08:31:55.000Z","updated_at":"2025-04-16T21:35:51.000Z","dependencies_parsed_at":"2022-09-26T20:41:16.654Z","dependency_job_id":null,"html_url":"https://github.com/vadimdemedes/trevor","commit_stats":null,"previous_names":["vdemedes/trevor"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadimdemedes%2Ftrevor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadimdemedes%2Ftrevor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadimdemedes%2Ftrevor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadimdemedes%2Ftrevor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vadimdemedes","download_url":"https://codeload.github.com/vadimdemedes/trevor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253494392,"owners_count":21917254,"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-07-31T00:01:38.415Z","updated_at":"2025-05-15T06:05:48.134Z","avatar_url":"https://github.com/vadimdemedes.png","language":"JavaScript","funding_links":[],"categories":["Packages","JavaScript","包","📦 Legacy \u0026 Inactive Projects"],"sub_categories":["Testing","测试"],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg width=\"310\" src=\"media/logo.png?raw=true\"\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n[![Build Status](https://travis-ci.org/vadimdemedes/trevor.svg?branch=master)](https://travis-ci.org/vadimdemedes/trevor)\n\n\u003e Your own Travis CI to run tests locally.\n\n\n## Purpose\n\nI often need to run tests for multiple versions of Node.js.\nBut I don't want to switch versions manually using `n`/`nvm` or push the code to Travis CI just to run the tests.\n\nThat's why I created Trevor. It reads `.travis.yml` and runs tests in all versions you requested, just like Travis CI.\nNow, you can test before push and keep your git history clean.\n\n\u003cimg width=\"524\" src=\"media/demo.gif?raw=true\"\u003e\n\n\n## Requirements\n\n- [Docker](https://www.docker.com)\n\n\n## Installation\n\n```\n$ npm install --global trevor\n```\n\n\n## Usage\n\nGiven the following `.travis.yml` file:\n\n```yaml\nlanguage: node_js\nnode_js:\n  - '7'\n  - '6'\n  - '4'\n```\n\nRun `trevor` in project's directory:\n\n```\n$ trevor\n```\n\n\n## License\n\nMIT © [Vadim Demedes](https://vadimdemedes.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadimdemedes%2Ftrevor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvadimdemedes%2Ftrevor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadimdemedes%2Ftrevor/lists"}