Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vadimdemedes/trevor
π¦ Your own mini Travis CI to run tests locally
https://github.com/vadimdemedes/trevor
Last synced: about 24 hours ago
JSON representation
π¦ Your own mini Travis CI to run tests locally
- Host: GitHub
- URL: https://github.com/vadimdemedes/trevor
- Owner: vadimdemedes
- License: mit
- Created: 2015-10-01T08:31:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-11-23T20:08:15.000Z (about 5 years ago)
- Last Synced: 2025-01-03T14:10:03.942Z (8 days ago)
- Language: JavaScript
- Homepage:
- Size: 2.69 MB
- Stars: 2,112
- Watchers: 26
- Forks: 51
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
- awesome-nodejs-cn - trevor - **star:2112** θΏθ‘ε€δΈͺηζ¬ηNode.jsζ΅θ―οΌδΈιθ¦ζε¨εζ’ηζ¬ζζ¨ιε°Travis CI ![star > 2000][Awesome] (ε / ζ΅θ―)
- awesome-nodejs - trevor - Run tests against multiple versions of Node.js without switching versions manually or pushing to Travis CI. (Packages / Testing)
README
[![Build Status](https://travis-ci.org/vadimdemedes/trevor.svg?branch=master)](https://travis-ci.org/vadimdemedes/trevor)
> Your own Travis CI to run tests locally.
## Purpose
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.## Requirements
- [Docker](https://www.docker.com)
## Installation
```
$ npm install --global trevor
```## Usage
Given the following `.travis.yml` file:
```yaml
language: node_js
node_js:
- '7'
- '6'
- '4'
```Run `trevor` in project's directory:
```
$ trevor
```## License
MIT Β© [Vadim Demedes](https://vadimdemedes.com)