Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up CI with Azure Pipelines (#1226)
* Set up CI with Azure Pipelines * improve azure pipelines * dont run website trigger on window systems, trigger website build after all builds * run website script directly * fix script name * fix job name * check if bash works on windows build too * trigger website build for testing * remove travis, appveyor script, test website build * **NO_CI** revert condition * add missing commands * add azure badge and remove travis and appveyor badges * add node 11, print tap_color env * fix typo * test * test * remove log * test * fix yaml issue * remove colors * inject secret coverall token into job * fix * fix * add travis back, remove website trigger from azure pipeline * dont run coverall on azure, use yarn on linux * fix command to use yarn * try to use npm as alias for yarn to use yarn in the package scripts * print version of package manager * ***NO_CI*** remove spaces * split commands * ***NO_CI*** add travis badge back * add yarn install instruction, add ci supported os to LTS * use container for testing * restore travis, update list * run tests, add pkm to table * remove node 6 in combo with yarn, update table * update table
- Loading branch information
1 parent
584bc28
commit c53174c
Showing
8 changed files
with
89 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
jobs: | ||
- job: ${{ parameters.name }} | ||
pool: | ||
vmImage: ${{ parameters.vmImage }} | ||
strategy: | ||
matrix: | ||
node_11_x: | ||
node_version: 11.x | ||
node_10_x: | ||
node_version: 10.x | ||
node_8_x: | ||
node_version: 8.x | ||
node_6_x: | ||
node_version: 6.x | ||
maxParallel: 5 | ||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: $(node_version) | ||
displayName: Install Node.js | ||
- bash: npm i | ||
displayName: Install dependencies | ||
- bash: npm test | ||
displayName: Run tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
jobs: | ||
- job: ${{ parameters.name }} | ||
pool: | ||
vmImage: ${{ parameters.vmImage }} | ||
strategy: | ||
matrix: | ||
node_11_x: | ||
node_version: 11.x | ||
node_10_x: | ||
node_version: 10.x | ||
node_8_x: | ||
node_version: 8.x | ||
maxParallel: 5 | ||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: $(node_version) | ||
displayName: Install Node.js | ||
- bash: yarn install | ||
displayName: Install dependencies | ||
- bash: yarn test | ||
displayName: Run tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
jobs: | ||
- template: azure-pipelines-yarn-template.yml | ||
parameters: | ||
name: Linux | ||
vmImage: ubuntu-16.04 | ||
|
||
- template: azure-pipelines-npm-template.yml | ||
parameters: | ||
name: Windows | ||
vmImage: vs2017-win2016 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,40 @@ | ||
<h1 align="center">Fastify</h1> | ||
|
||
<a name="lts"></a> | ||
|
||
## Long Term Support | ||
|
||
Fastify's Long Term Support (LTS) is provided according the schedule laid | ||
out in this document: | ||
|
||
1. Major releases, "X" release of [semantic versioning][semver] X.Y.Z release | ||
versions, are supported for a minimum period of six months from their release | ||
date. The release date of any specific version can be found at | ||
[https://github.com/fastify/fastify/releases](https://github.com/fastify/fastify/releases). | ||
versions, are supported for a minimum period of six months from their release | ||
date. The release date of any specific version can be found at | ||
[https://github.com/fastify/fastify/releases](https://github.com/fastify/fastify/releases). | ||
|
||
1. Major releases will receive security updates for an additional six months | ||
from the release of the next major release. | ||
from the release of the next major release. | ||
|
||
A "month" is to be a period of 30 consecutive days. | ||
|
||
[semver]: https://semver.org/ | ||
|
||
<a name="lts-schedule"></a> | ||
|
||
### Schedule | ||
|
||
| Version | Release Date | End Of LTS Date | | ||
|:--------|:-------------|:----------------| | ||
| :------ | :----------- | :-------------- | | ||
| 1.0.0 | 2018-03-06 | TBD | | ||
|
||
<a name="supported-os"></a> | ||
|
||
### CI tested operating systems | ||
|
||
| CI | OS | Version | Package Manager | Node.js | | ||
| :------------- | :------ | :------------- | :-------------- | :------------- | | ||
| Travis | Linux | Ubuntu 14.04 | npm | 6,8,9,10 | | ||
| Azure pipeline | Linux | Ubuntu 16.04 | yarn | ~~6¹~~,8,10,11 | | ||
| Azure pipeline | Windows | vs2017-win2016 | npm | 6,8,10,11 | | ||
|
||
_¹ yarn supports only node >= 8_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters