forked from reactioncommerce/reaction
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Velocity ci patches (reactioncommerce#1046)
* add bin/ci.sh wraps velocity test and watch for tests passed output. ci will timeout if this doesn’t exit in 10 minutes. * add npm.depends for bunyan testing kludge fix, add npm.depends specifically for testing * clean up extra param remove extra VELOCITY_TEST_PACKAGES=1 * add export the cleanup that became dirty.. add export
- Loading branch information
Aaron Judd
committed
May 26, 2016
1 parent
c94735d
commit 5cade1f
Showing
8 changed files
with
194 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
set -u | ||
set -e | ||
# test using velocity | ||
export VELOCITY_TEST_PACKAGES=1 | ||
# send testing output to log | ||
meteor test-packages --driver-package velocity:html-reporter --velocity >& logfile.log & | ||
# tail log for passed tests notice | ||
# circle ci test will timeout if we don't pass | ||
tail -f logfile.log | while read LOGLINE | ||
do | ||
echo ${LOGLINE} | ||
[[ "${LOGLINE}" == *"tests passed"* ]] && pkill -P $$ tail | ||
done |
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 @@ | ||
node_modules |
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,7 @@ | ||
This directory and the files immediately inside it are automatically generated | ||
when you change this package's NPM dependencies. Commit the files in this | ||
directory (npm-shrinkwrap.json, .gitignore, and this README) to source control | ||
so that others run the same versions of sub-dependencies. | ||
|
||
You should NOT check in the node_modules directory that Meteor automatically | ||
creates; if you are using git, the .gitignore file tells git to ignore it. |
158 changes: 158 additions & 0 deletions
158
packages/reaction-logger/.npm/package/npm-shrinkwrap.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
|
@@ -5,6 +5,11 @@ Package.describe({ | |
version: "0.2.1" | ||
}); | ||
|
||
Npm.depends({ | ||
"bunyan": "1.8.1", | ||
"bunyan-format": "0.2.1" | ||
}); | ||
|
||
Package.onUse(function (api) { | ||
api.versionsFrom("[email protected]"); | ||
api.use("tmeasday:[email protected]"); | ||
|
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,4 +1,7 @@ | ||
Tinytest.add('bunyan', function(test) { | ||
test.isNotNull(logger, 'logger should be available'); | ||
test.isNotNull(bunyan, 'bunyan should be available'); | ||
bunyan = Npm.require("bunyan"); | ||
bunyanFormat = Npm.require("bunyan-format"); | ||
|
||
Tinytest.add("bunyan", function (test) { | ||
test.isNotNull(logger, "logger should be available"); | ||
test.isNotNull(bunyan, "bunyan should be available"); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.