mirror of
https://github.com/bvanroll/rpiRadio.git
synced 2025-08-30 20:42:44 +00:00
Initial Commit
This commit is contained in:
7
ProjectNow/NodeServer/node_modules/is-ci/.travis.yml
generated
vendored
Normal file
7
ProjectNow/NodeServer/node_modules/is-ci/.travis.yml
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- '6'
|
||||
- '5'
|
||||
- '4'
|
||||
- '0.12'
|
||||
- '0.10'
|
21
ProjectNow/NodeServer/node_modules/is-ci/LICENSE
generated
vendored
Normal file
21
ProjectNow/NodeServer/node_modules/is-ci/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016-2018 Thomas Watson Steen
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
69
ProjectNow/NodeServer/node_modules/is-ci/README.md
generated
vendored
Normal file
69
ProjectNow/NodeServer/node_modules/is-ci/README.md
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
# is-ci
|
||||
|
||||
Returns `true` if the current environment is a Continuous Integration
|
||||
server.
|
||||
|
||||
Please [open an issue](https://github.com/watson/is-ci/issues) if your
|
||||
CI server isn't properly detected :)
|
||||
|
||||
[](https://travis-ci.org/watson/is-ci)
|
||||
[](https://github.com/feross/standard)
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
npm install is-ci --save
|
||||
```
|
||||
|
||||
## Programmatic Usage
|
||||
|
||||
```js
|
||||
const isCI = require('is-ci')
|
||||
|
||||
if (isCI) {
|
||||
console.log('The code is running on a CI server')
|
||||
}
|
||||
```
|
||||
|
||||
## CLI Usage
|
||||
|
||||
For CLI usage you need to have the `is-ci` executable in your `PATH`.
|
||||
There's a few ways to do that:
|
||||
|
||||
- Either install the module globally using `npm install is-ci -g`
|
||||
- Or add the module as a dependency to your app in which case it can be
|
||||
used inside your package.json scripts as is
|
||||
- Or provide the full path to the executable, e.g.
|
||||
`./node_modules/.bin/is-ci`
|
||||
|
||||
```
|
||||
is-ci && echo "This is a CI server"
|
||||
```
|
||||
|
||||
## Supported CI tools
|
||||
|
||||
Officially supported CI servers:
|
||||
|
||||
- [Travis CI](http://travis-ci.org)
|
||||
- [CircleCI](http://circleci.com)
|
||||
- [Jenkins CI](https://jenkins-ci.org)
|
||||
- [Hudson](http://hudson-ci.org)
|
||||
- [Bamboo](https://www.atlassian.com/software/bamboo)
|
||||
- [TeamCity](https://www.jetbrains.com/teamcity/)
|
||||
- [Team Foundation Server](https://www.visualstudio.com/en-us/products/tfs-overview-vs.aspx)
|
||||
- [GitLab CI](https://about.gitlab.com/gitlab-ci/)
|
||||
- [Codeship](https://codeship.com)
|
||||
- [Drone.io](https://drone.io)
|
||||
- [Magnum CI](https://magnum-ci.com)
|
||||
- [Semaphore](https://semaphoreci.com)
|
||||
- [AppVeyor](http://www.appveyor.com)
|
||||
- [Buildkite](https://buildkite.com)
|
||||
- [TaskCluster](http://docs.taskcluster.net)
|
||||
- [GoCD](https://www.go.cd/)
|
||||
- [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines)
|
||||
|
||||
Other CI tools using environment variables like `BUILD_ID` or `CI` would be detected as well.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
4
ProjectNow/NodeServer/node_modules/is-ci/bin.js
generated
vendored
Executable file
4
ProjectNow/NodeServer/node_modules/is-ci/bin.js
generated
vendored
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
'use strict'
|
||||
|
||||
process.exit(require('./') ? 0 : 1)
|
3
ProjectNow/NodeServer/node_modules/is-ci/index.js
generated
vendored
Normal file
3
ProjectNow/NodeServer/node_modules/is-ci/index.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = require('ci-info').isCI
|
69
ProjectNow/NodeServer/node_modules/is-ci/package.json
generated
vendored
Normal file
69
ProjectNow/NodeServer/node_modules/is-ci/package.json
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"_from": "is-ci@^1.0.10",
|
||||
"_id": "is-ci@1.1.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-c7TnwxLePuqIlxHgr7xtxzycJPegNHFuIrBkwbf8hc58//+Op1CqFkyS+xnIMkwn9UsJIwc174BIjkyBmSpjKg==",
|
||||
"_location": "/is-ci",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "is-ci@^1.0.10",
|
||||
"name": "is-ci",
|
||||
"escapedName": "is-ci",
|
||||
"rawSpec": "^1.0.10",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.10"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/update-notifier"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.1.0.tgz",
|
||||
"_shasum": "247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5",
|
||||
"_spec": "is-ci@^1.0.10",
|
||||
"_where": "/home/beppe/Documents/Python/proj/1718PROJrpiRadio/NodeServer/node_modules/update-notifier",
|
||||
"author": {
|
||||
"name": "Thomas Watson Steen",
|
||||
"email": "w@tson.dk",
|
||||
"url": "https://twitter.com/wa7son"
|
||||
},
|
||||
"bin": {
|
||||
"is-ci": "bin.js"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/watson/is-ci/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"coordinates": [
|
||||
56.0093252,
|
||||
11.9592058
|
||||
],
|
||||
"dependencies": {
|
||||
"ci-info": "^1.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Detect if your code is running on a CI server",
|
||||
"devDependencies": {
|
||||
"clear-require": "^1.0.1",
|
||||
"standard": "^10.0.3"
|
||||
},
|
||||
"homepage": "https://github.com/watson/is-ci",
|
||||
"keywords": [
|
||||
"ci",
|
||||
"continuous",
|
||||
"integration",
|
||||
"test",
|
||||
"detect"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "is-ci",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/watson/is-ci.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "standard && node test.js"
|
||||
},
|
||||
"version": "1.1.0"
|
||||
}
|
19
ProjectNow/NodeServer/node_modules/is-ci/test.js
generated
vendored
Normal file
19
ProjectNow/NodeServer/node_modules/is-ci/test.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
'use strict'
|
||||
|
||||
var assert = require('assert')
|
||||
var clearRequire = require('clear-require')
|
||||
|
||||
process.env.CI = 'true'
|
||||
|
||||
var isCI = require('./')
|
||||
assert(isCI)
|
||||
|
||||
delete process.env.CI
|
||||
delete process.env.CONTINUOUS_INTEGRATION
|
||||
delete process.env.BUILD_NUMBER
|
||||
delete process.env.TRAVIS
|
||||
|
||||
clearRequire('./')
|
||||
clearRequire('ci-info')
|
||||
isCI = require('./')
|
||||
assert(!isCI)
|
Reference in New Issue
Block a user