generate-travis
Advanced tools
+12
-9
| { | ||
| "name": "generate-travis", | ||
| "description": "Generate a .travis.yml file to the cwd or specified directory. Install globally and run with generate's CLI, or use as a component in your own generator.", | ||
| "version": "0.2.1", | ||
| "version": "0.3.0", | ||
| "homepage": "https://github.com/generate/generate-travis", | ||
| "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
| "contributors": [ | ||
| "Brian Woodward <brian.woodward@gmail.com> (https://github.com/doowb)", | ||
| "Charlike Mike Reagent (http://www.tunnckocore.tk)", | ||
| "Jon Schlinkert <jon.schlinkert@sellside.com> (http://twitter.com/jonschlinkert)" | ||
| ], | ||
| "repository": "generate/generate-travis", | ||
@@ -15,4 +20,2 @@ "bugs": { | ||
| "index.js", | ||
| "LICENSE", | ||
| "README.md", | ||
| "templates" | ||
@@ -84,13 +87,13 @@ ], | ||
| "generate-file", | ||
| "generate-package", | ||
| "generate-git" | ||
| "generate-git", | ||
| "generate-package" | ||
| ] | ||
| }, | ||
| "reflinks": [ | ||
| "assemble", | ||
| "base", | ||
| "generate", | ||
| "gulp", | ||
| "verb", | ||
| "verb-readme-generator", | ||
| "assemble", | ||
| "base", | ||
| "gulp" | ||
| "verb-generate-readme" | ||
| ], | ||
@@ -97,0 +100,0 @@ "lint": { |
+52
-2
@@ -16,2 +16,22 @@ <p align="center"> | ||
| ## Quickstart | ||
| **Install** | ||
| Install [generate](https://github.com/generate/generate) and `generate-travis`: | ||
| ```sh | ||
| $ npm install --global generate generate-travis | ||
| ``` | ||
| **Generate a `.travis.yml` file** | ||
| ```sh | ||
| $ gen travis | ||
| ``` | ||
| ## Custom templates | ||
| Override the built-in template by adding a custom `.travis.yml` file to `~/templates/.travis.yml`. | ||
| ## What is "Generate"? | ||
@@ -95,2 +115,24 @@ | ||
| ## Next steps | ||
| ### Running unit tests | ||
| It's never too early to begin running unit tests. When you're ready to get started, the following command will ensure the project's dependencies are installed then run all of the unit tests: | ||
| ```sh | ||
| $ npm install && test | ||
| ``` | ||
| ### Publishing your generator | ||
| If you're tests are passing and you're ready to publish your generator to [npm](https://www.npmjs.com), you can do that now with the following command: | ||
| **Are you sure you're ready?!** | ||
| Let's go! | ||
| ```sh | ||
| $ npm publish | ||
| ``` | ||
| ## About | ||
@@ -102,3 +144,3 @@ | ||
| * [generate-git](https://www.npmjs.com/package/generate-git): Generator for initializing a git repository and adding first commit. | [homepage](https://github.com/generate/generate-git "Generator for initializing a git repository and adding first commit.") | ||
| * [generate-package](https://www.npmjs.com/package/generate-package): Generate] a package.json from a pre-defined or user-defined template. This generator can be used from… [more](https://github.com/generate/generate-package) | [homepage](https://github.com/generate/generate-package "[Generate] a package.json from a pre-defined or user-defined template. This generator can be used from the command line when globally installed, or as a plugin or sub-generator in your own generator.") | ||
| * [generate-package](https://www.npmjs.com/package/generate-package): Generate a package.json from a pre-defined or user-defined template. This generator can be used from… [more](https://github.com/generate/generate-package) | [homepage](https://github.com/generate/generate-package "Generate a package.json from a pre-defined or user-defined template. This generator can be used from the command line when globally installed, or as a plugin or sub-generator in your own generator.") | ||
| * [generate](https://www.npmjs.com/package/generate): Command line tool and developer framework for scaffolding out new GitHub projects. Generate offers the… [more](https://github.com/generate/generate) | [homepage](https://github.com/generate/generate "Command line tool and developer framework for scaffolding out new GitHub projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.") | ||
@@ -118,2 +160,10 @@ | ||
| ### Contributors | ||
| | **Commits** | **Contributor**<br/> | | ||
| | --- | --- | | ||
| | 20 | [jonschlinkert](https://github.com/jonschlinkert) | | ||
| | 4 | [doowb](https://github.com/doowb) | | ||
| | 1 | [tunnckoCore](https://github.com/tunnckoCore) | | ||
| ### Contributing | ||
@@ -145,2 +195,2 @@ | ||
| _This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.1.28, on July 28, 2016._ | ||
| _This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.1.31, on October 01, 2016._ |
| sudo: false | ||
| language: node_js | ||
| node_js: | ||
| - "node" | ||
| - "6" | ||
| - "5" | ||
| - "4" | ||
| - "0.12" | ||
| - "0.10" | ||
| matrix: | ||
| fast_finish: true | ||
| allow_failures: | ||
| - node_js: "4" | ||
| - node_js: "0.10" | ||
| - node_js: "0.12" | ||
| - 'node' | ||
| - '6' |
@@ -6,11 +6,3 @@ 'use strict'; | ||
| language: 'node_js', | ||
| node_js: [ '6', '5', '4', '0.12', '0.10' ], | ||
| matrix: { | ||
| fast_finish: true, | ||
| allow_failures: [ | ||
| {node_js: '4'}, | ||
| {node_js: '0.10'}, | ||
| {node_js: '0.12'} | ||
| ] | ||
| } | ||
| node_js: ['node', '6' ] | ||
| }; | ||
@@ -22,14 +14,4 @@ | ||
| 'node_js:', | ||
| ' - "6"', | ||
| ' - "5"', | ||
| ' - "4"', | ||
| ' - "0.12"', | ||
| ' - "0.10"', | ||
| 'matrix:', | ||
| ' fast_finish: true', | ||
| ' allow_failures:', | ||
| ' - node_js: "4"', | ||
| ' - node_js: "0.10"', | ||
| ' - node_js: "0.12"', | ||
| '' | ||
| ' - \'node\'', | ||
| ' - \'6\'' | ||
| ].join('\n'); |
11828
7.41%191
35.46%48
-27.27%