From fe71e73656141b83306bc430cdd0bb34a17c189b Mon Sep 17 00:00:00 2001 From: Sibiraj Date: Sun, 19 Aug 2018 00:16:26 +0530 Subject: [PATCH 1/2] feat: add shippable ci --- README.md | 2 ++ index.js | 1 + test.js | 3 +++ 3 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 8e91c31..c8821bd 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ Officially supported CI servers: - [Jenkins CI](https://jenkins-ci.org) - [Magnum CI](https://magnum-ci.com) - [Semaphore](https://semaphoreci.com) +- [Shippable](https://www.shippable.com/) - [Solano CI](https://www.solanolabs.com/) - [Strider CD](https://strider-cd.github.io/) - [TaskCluster](http://docs.taskcluster.net) @@ -95,6 +96,7 @@ Otherwise `false`. - `ci.MAGNUM` - `ci.SOLANO` - `ci.SEMAPHORE` +- `ci.SHIPPABLE` - `ci.STRIDER` - `ci.TASKCLUSTER` - `ci.TEAMCITY` diff --git a/index.js b/index.js index 48a2982..a9de1a6 100644 --- a/index.js +++ b/index.js @@ -18,6 +18,7 @@ var vendors = [ ['JENKINS', 'Jenkins', 'JENKINS_URL', 'BUILD_ID'], ['MAGNUM', 'Magnum CI', 'MAGNUM'], ['SEMAPHORE', 'Semaphore', 'SEMAPHORE'], + ['SHIPPABLE', 'Shippable', 'SHIPPABLE'], ['SOLANO', 'Solano CI', 'TDDIUM'], ['STRIDER', 'Strider CD', 'STRIDER'], ['TASKCLUSTER', 'TaskCluster', 'TASK_ID', 'RUN_ID'], diff --git a/test.js b/test.js index f46c03e..5433d3c 100644 --- a/test.js +++ b/test.js @@ -25,6 +25,7 @@ assert.equal(ci.HUDSON, false) assert.equal(ci.JENKINS, false) assert.equal(ci.MAGNUM, false) assert.equal(ci.SEMAPHORE, false) +assert.equal(ci.SHIPPABLE, false) assert.equal(ci.SOLANO, false) assert.equal(ci.STRIDER, false) assert.equal(ci.TASKCLUSTER, false) @@ -58,6 +59,7 @@ assert.equal(ci.HUDSON, false) assert.equal(ci.JENKINS, false) assert.equal(ci.MAGNUM, false) assert.equal(ci.SEMAPHORE, false) +assert.equal(ci.SHIPPABLE, false) assert.equal(ci.SOLANO, false) assert.equal(ci.STRIDER, false) assert.equal(ci.TASKCLUSTER, false) @@ -88,6 +90,7 @@ assert.equal(ci.HUDSON, false) assert.equal(ci.JENKINS, false) assert.equal(ci.MAGNUM, false) assert.equal(ci.SEMAPHORE, false) +assert.equal(ci.SHIPPABLE, false) assert.equal(ci.SOLANO, false) assert.equal(ci.TASKCLUSTER, false) assert.equal(ci.TDDIUM, false) // Deprecated From 81ea622c4b75bc5ed2a8b99bb855c6a7d7820494 Mon Sep 17 00:00:00 2001 From: Sibiraj Date: Sun, 19 Aug 2018 00:17:14 +0530 Subject: [PATCH 2/2] chore: update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8821bd..6326167 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ if your CI server isn't properly detected :) ## Installation -``` +```bash npm install ci-info --save ``` @@ -94,9 +94,9 @@ Otherwise `false`. - `ci.HUDSON` - `ci.JENKINS` - `ci.MAGNUM` -- `ci.SOLANO` - `ci.SEMAPHORE` - `ci.SHIPPABLE` +- `ci.SOLANO` - `ci.STRIDER` - `ci.TASKCLUSTER` - `ci.TEAMCITY`