{"id":13622789,"url":"https://github.com/iamstarkov/generator-travis","last_synced_at":"2025-04-15T06:08:04.506Z","repository":{"id":55569876,"uuid":"41835928","full_name":"iamstarkov/generator-travis","owner":"iamstarkov","description":"Yeoman generator to get and keep `.travis.yml` up-to-date effortlessly","archived":false,"fork":false,"pushed_at":"2020-07-07T08:13:59.000Z","size":163,"stargazers_count":35,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-15T06:07:55.805Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamstarkov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-03T01:13:17.000Z","updated_at":"2024-08-12T10:52:04.000Z","dependencies_parsed_at":"2022-08-15T03:20:43.355Z","dependency_job_id":null,"html_url":"https://github.com/iamstarkov/generator-travis","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamstarkov%2Fgenerator-travis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamstarkov%2Fgenerator-travis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamstarkov%2Fgenerator-travis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamstarkov%2Fgenerator-travis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamstarkov","download_url":"https://codeload.github.com/iamstarkov/generator-travis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016626,"owners_count":21198833,"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-08-01T21:01:24.093Z","updated_at":"2025-04-15T06:08:04.489Z","avatar_url":"https://github.com/iamstarkov.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# generator-travis\n\n[![NPM version][npm-image]][npm-url]\n[![Build Status][travis-image]][travis-url]\n[![Dependency Status][depstat-image]][depstat-url]\n\n\u003e [Yeoman][yo] generator to get and keep `.travis.yml` up-to-date effortlessly.  \n\u003e [Works great with other generators too](#composability).\n\nTravis CI uses `.travis.yml` file in the root of repository to learn about project and how developer wants their builds to be executed. Learn how to [get started building NodeJS projects][nodejs-get-started] and how to [customize your builds][travis-customize].\n\nThe configuration template includes the following NodeJS versions:\n\n* v15 (From 2020-10-21 until **2021-06-30**)\n* [v14][node-14] (until **2023-04-30**)\n* [v12][node-12] (until **2022-04-30**)\n* [v10][node-10] (until **2021-04-01**)\n\n[yo]: http://yeoman.io/\n[nodejs-get-started]: http://docs.travis-ci.com/user/languages/javascript-with-nodejs/\n[travis-customize]: http://docs.travis-ci.com/user/customizing-the-build/\n\n## Install\n\n    npm install --global yo generator-travis\n\n## Usage\n\n    yo travis\n\n## NodeJS versions in the config\n\nEvery LTS-supported version is included plus current one if its not LTS-supported.\nThe list of the versions is loaded from \u003chttps://nodejs.org/dist/index.json\u003e at\nrun-time.\n\n* NodeJS v15 will be added on 2020-10-21 and removed on **2021-06-30**.\n* NodeJS [v14][node-14] will be removed on **2023-04-30**.\n* NodeJS [v12][node-12] will be removed on **2022-04-30**.\n* NodeJS [v10][node-10] will be removed on **2021-04-01**.\n\n**All other versions, [except for those added through `options.config`](#compose),\nare removed from the config.**\n\n[![NodeJS LTS Timeline][node-lts-image]][node-lts-url]\n\n[Read more][node-lts-url] about NodeJS long-term support/LTS.\n\n## Composability\n\n\u003e Composability is a way to combine smaller parts to make one large thing. Sort of [like Voltron®][voltron]  \n\u003e — [Yeoman docs](http://yeoman.io/authoring/composability.html)\n\nJust plug in _travis_ into your generator and let it handle your `.travis.yml` for you. Everybody wins.\n\n### Install\n\n    npm install --save generator-travis\n\n#### Compose\n\n```js\nthis.composeWith('travis', {}, {\n  local: require.resolve('generator-travis')\n});\n```\n\nAdd any extra fields you need to `options.config` to extend the default configuration.\n\n```js\nthis.composeWith('travis', { options: { config: {\n  after_script: ['npm run coveralls'],\n  node_js: ['v0.12']\n}}}, {\n  local: require.resolve('generator-travis')\n});\n```\n\n[voltron]: http://25.media.tumblr.com/tumblr_m1zllfCJV21r8gq9go11_250.gif\n\n## License\n\nMIT © [Vladimir Starkov](https://iamstarkov.com)\n\n[npm-url]: https://npmjs.org/package/generator-travis\n[npm-image]: https://img.shields.io/npm/v/generator-travis.svg?style=flat-square\n\n[travis-url]: https://travis-ci.org/iamstarkov/generator-travis\n[travis-image]: https://img.shields.io/travis/iamstarkov/generator-travis.svg?style=flat-square\n\n[depstat-url]: https://david-dm.org/iamstarkov/generator-travis\n[depstat-image]: https://david-dm.org/iamstarkov/generator-travis.svg?style=flat-square\n\n[node-lts-url]: https://github.com/nodejs/Release\n[node-lts-image]: https://raw.githubusercontent.com/nodejs/Release/master/schedule.svg?sanitize=true\n\n[node-14]: https://nodejs.org/download/release/latest-v14.x/\n[node-12]: https://nodejs.org/download/release/latest-v12.x/\n[node-10]: https://nodejs.org/download/release/latest-v10.x/\n\n[travis]: https://travis-ci.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamstarkov%2Fgenerator-travis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamstarkov%2Fgenerator-travis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamstarkov%2Fgenerator-travis/lists"}