Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial repo layout #6

Merged
merged 3 commits into from
Aug 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 43 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,46 @@
# Shared Travis Configuration Imports

This repository is managed by the [Package Maintenance Working Group](https://github.com/nodejs/package-maintenance), see [Governance](https://github.com/nodejs/package-maintenance/blob/master/Governance.md).
- This repository is managed by the [Package Maintenance Working Group](https://github.com/nodejs/package-maintenance), see [Governance](https://github.com/nodejs/package-maintenance/blob/master/Governance.md).
- Read more about [Shared Build Configurations in Travis CI](https://docs.travis-ci.com/user/build-config-imports/).

## Usage

Replace the list of `node_js` versions in your `.travis.yml` with one of the available files.

### Examples

#### `lts` policy: use LTS and current Node.js releases, starting with v10.x

```
import:
- nodejs/ci-config-travis:lts/gte-10.yml
```

- Travis CI will use the latest version of each release line in the list
- New major Node.js versions, greater or equal to v10.0.0, will be added to the list as soon as they are released
- Once added, LTS versions will never be removed. Non-LTS versions will be removed when they reach their lifetime.
- Note that if your policy is to only support LTS versions, then removing the non-LTS version in your test matrix is not a breaking change, as the non-LTS version was never supported (it was only used for test purposes).


#### `all` policy: use all Node.js releases, starting with v14.x

```
import:
- nodejs/ci-config-travis:all/gte-14.yml
```

- Travis will use the latest version of each release line in the list
- New major Node.js versions, greater or equal to v14.0.0, will be added to the list as soon as they are released
- Once added, versions will never be removed from the list


#### Strict `lts` policy: use only LTS Node.js releases, starting with v10.x

```
import:
- nodejs/ci-config-travis:lts/strict/gte-10.yml
```

- Travis will use the latest version of each release line in the list
- New major Node.js versions, greater or equal to v14.0.0, will be added to the list as soon as they achieve LTS status (i.e. ~6 months after they are released)
- Once added, versions will never be removed from the list
6 changes: 6 additions & 0 deletions all/gte-10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_js:
- 14
- 13
- 12
- 11
- 10
5 changes: 5 additions & 0 deletions all/gte-11.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_js:
- 14
- 13
- 12
- 11
4 changes: 4 additions & 0 deletions all/gte-12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_js:
- 14
- 13
- 12
3 changes: 3 additions & 0 deletions all/gte-13.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_js:
- 14
- 13
2 changes: 2 additions & 0 deletions all/gte-14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_js:
- 14
12 changes: 12 additions & 0 deletions all/gte-4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
node_js:
- 14
- 13
- 12
- 11
- 10
- 9
- 8
- 7
- 6
- 5
- 4
11 changes: 11 additions & 0 deletions all/gte-5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
node_js:
- 14
- 13
- 12
- 11
- 10
- 9
- 8
- 7
- 6
- 5
10 changes: 10 additions & 0 deletions all/gte-6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
node_js:
- 14
- 13
- 12
- 11
- 10
- 9
- 8
- 7
- 6
9 changes: 9 additions & 0 deletions all/gte-7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_js:
- 14
- 13
- 12
- 11
- 10
- 9
- 8
- 7
8 changes: 8 additions & 0 deletions all/gte-8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_js:
- 14
- 13
- 12
- 11
- 10
- 9
- 8
7 changes: 7 additions & 0 deletions all/gte-9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_js:
- 14
- 13
- 12
- 11
- 10
- 9
4 changes: 4 additions & 0 deletions lts/gte-10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_js:
- 14
- 12
- 10
3 changes: 3 additions & 0 deletions lts/gte-12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_js:
- 14
- 12
2 changes: 2 additions & 0 deletions lts/gte-14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_js:
- 14
7 changes: 7 additions & 0 deletions lts/gte-4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_js:
- 14
- 12
- 10
- 8
- 6
- 4
6 changes: 6 additions & 0 deletions lts/gte-6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_js:
- 14
- 12
- 10
- 8
- 6
5 changes: 5 additions & 0 deletions lts/gte-8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_js:
- 14
- 12
- 10
- 8
3 changes: 3 additions & 0 deletions lts/strict/gte-10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_js:
- 12
- 10
2 changes: 2 additions & 0 deletions lts/strict/gte-12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_js:
- 12
6 changes: 6 additions & 0 deletions lts/strict/gte-4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_js:
- 12
- 10
- 8
- 6
- 4
5 changes: 5 additions & 0 deletions lts/strict/gte-6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_js:
- 12
- 10
- 8
- 6
4 changes: 4 additions & 0 deletions lts/strict/gte-8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_js:
- 12
- 10
- 8