This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
386 additions
and
114 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 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
environment: | ||
matrix: | ||
- nodejs_version: "8" | ||
- nodejs_version: "7" | ||
- nodejs_version: "6" | ||
- nodejs_version: "5" | ||
- nodejs_version: "4" | ||
- nodejs_version: "1.0" | ||
|
||
max_jobs: 4 | ||
|
||
clone_depth: 50 | ||
|
||
init: | ||
- git config --global core.autocrlf true | ||
|
||
install: | ||
- ps: Install-Product node $env:nodejs_version | ||
- npm install | ||
|
||
test_script: | ||
- cmd: SET PATH=C:\MinGW\bin;%PATH% | ||
- npm run test | ||
|
||
after_test: | ||
- node .\bin\codecov -f coverage\coverage.json | ||
|
||
build: off | ||
|
||
deploy: off |
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
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,4 @@ | ||
coverage: | ||
parsers: | ||
javascript: | ||
enable_partials: no |
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
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,13 @@ | ||
var execSync = require("child_process").execSync; | ||
|
||
module.exports = { | ||
|
||
branch: function(){ | ||
return execSync("git rev-parse --abbrev-ref HEAD || hg branch").toString().trim(); | ||
}, | ||
|
||
head: function(){ | ||
return execSync("git log -1 --pretty=%H || hg id -i --debug | tr -d '+'").toString().trim(); | ||
} | ||
|
||
}; |
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,14 @@ | ||
// see: http://man7.org/linux/man-pages/man2/accept.2.html#ERRORS | ||
var offlineErrorCodes = [ | ||
'EAI_AGAIN', | ||
'ENETDOWN', | ||
'EPROTO', | ||
'ENOPROTOOPT', | ||
'EHOSTDOWN', | ||
'ENONET', | ||
'EHOSTUNREACH', | ||
'EOPNOTSUPP', | ||
'ENETUNREACH' | ||
] | ||
|
||
module.exports = offlineErrorCodes; |
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
Oops, something went wrong.