Skip to content
🚦 Your own mini Travis CI to run tests locally
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Fix checking if docker is running (#81) Apr 15, 2019
media 2017 renovation Feb 16, 2017
.gitignore 2017 renovation Feb 16, 2017
.travis.yml Update .travis.yml (#70) Jul 9, 2018
cli.js minor changes Feb 18, 2017
package.json Fix screenshot for npm (#46) Feb 17, 2017

Build Status

Your own Travis CI to run tests locally.


I often need to run tests for multiple versions of Node.js. But I don't want to switch versions manually using n/nvm or push the code to Travis CI just to run the tests.

That's why I created Trevor. It reads .travis.yml and runs tests in all versions you requested, just like Travis CI. Now, you can test before push and keep your git history clean.



$ npm install --global trevor


Given the following .travis.yml file:

language: node_js
  - '7'
  - '6'
  - '4'

Run trevor in project's directory:

$ trevor


MIT © Vadim Demedes

You can’t perform that action at this time.