-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from dinoboff/master
Add cmd to init a db.
- Loading branch information
Showing
23 changed files
with
546 additions
and
606 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"preset": "google", | ||
"excludeFiles": ["node_modules", "coverage"], | ||
"maximumLineLength": 120, | ||
"disallowMultipleVarDecl": { | ||
allExcept: ['undefined'] | ||
} | ||
} |
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,15 +1,16 @@ | ||
language: node_js | ||
env: | ||
global: | ||
- SINGPATH_RULES_FB_ID=singpath-travis | ||
- secure: pFgUzjTjBpxnK09BIbXBNCqwderheoG8MT3JZpaipdFn2yuu90ZhSM+KgNSjaJtFRKsq5LAK/tioTPrjOTitXAwAVo+Dd93YgvPh01X9LmPrnYPYx8XmE7P4fV3/ODvMuCMPyQAqPSkJhFrWD0AKZ4f0kc8JQVl90C1ekpp0o7Xi2mtzMyQmt8YiRZTZl4dJel+sw3dsGBFWi/jJE613sngd3pGKX33hz1jfc7xipTOzUQrIGc8V+fML+/kMkf+nYVm/hIqDWxQnstuoF65TO0alGAZflFgFNI2LBjyIe4FF414mrKQcYsKIDkbYDx1+7I8zvHybDGLzz8SOi4ynlHeXrh+YlvcLLctfhrg+dvm0MEzTX2lmsCiIcwjbgOzb3DoHRz0rtc+ZT2+YCucvHpR5COQBt6e387MRY98F/F8jFM30O/d7coaRwtu3q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X+J748hgPJcU1h3PpsSX+LiOI4KjaEMsm5ez3f68hyji+RjhBE4ZFgmsjgY51/VdJzijOHrfvUYecj8Un1lFFXDWPJF9v8FHrLMHLhTw80YkAmqG4s9iPswmJKnsmM+jKRsFB9fWI5n8LWuZGpwqiZPwF5/oc4JJMgVXQXXG40vWWF+lV9zEVw5mHtxJrbaRKkv7IQ= | ||
node_js: | ||
- '4.1' | ||
- '4.2' | ||
install: | ||
- npm install | ||
script: | ||
- npm test | ||
- npm run coveralls | ||
- test -z "$SINGPATH_DEPLOY_TOKEN" || npm run upload-rules-ci | ||
- test -z "$SINGPATH_RULES_FB_SECRET" || npm run test-e2e | ||
- 'npm run lint' | ||
- 'npm run test' | ||
- 'npm run coveralls' | ||
- 'test -z "$SINGPATH_RULES_E2E_FIREBASE_SECRET" || test -z "$SINGPATH_RULES_TOKEN" || ./bin/singpath-rules upload-rules -f $SINGPATH_RULES_E2E_FIREBASE_ID --token $SINGPATH_RULES_TOKEN' | ||
- 'test -z "$SINGPATH_RULES_E2E_FIREBASE_SECRET" || test -z "$SINGPATH_RULES_TOKEN" || npm run test-e2e' |
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
Oops, something went wrong.