A local Travis CI clone that runs tests across multiple Node.js versions using Docker.
Trevor is a command-line tool that acts as a local version of Travis CI, allowing developers to run their test suites across multiple Node.js versions without leaving their local machine. It solves the problem of manually switching Node versions or relying on remote CI services for multi-environment testing by using Docker to spin up isolated containers for each version specified in the project's `.travis.yml` file.
Node.js developers who use Travis CI for testing across multiple Node versions and want to run those tests locally before pushing code.
Developers choose Trevor because it provides a seamless local testing experience that mirrors Travis CI's behavior, reducing dependency on external CI services and enabling faster feedback loops during development.
🚦 Your own mini Travis CI to run tests locally
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Reads .travis.yml to replicate Travis CI's test matrix locally, allowing developers to run tests without pushing code to remote servers.
Automatically runs tests across all Node.js versions specified in config, eliminating manual switching with tools like nvm or n.
Uses Docker containers for each test run, ensuring clean and consistent environments that mirror CI server conditions.
Enables full test suite execution locally before commits, helping catch issues early and maintain clean git history.
Requires Docker to be installed and running, which can be a barrier for users on systems without Docker or those unfamiliar with containerization.
Only works with .travis.yml configurations, making it ineffective for projects using other CI systems or custom workflows not tied to Travis.
Focused solely on Node.js, so it cannot be used for testing projects in other programming languages or multi-language setups.
The README provides minimal examples and no guidance on advanced usage, error handling, or integration, leaving users to figure out edge cases on their own.
trevor is an open-source alternative to the following products: