Skip to content

Instantly share code, notes, and snippets.

@kdawes
Created December 7, 2012 02:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdawes/4230312 to your computer and use it in GitHub Desktop.
Save kdawes/4230312 to your computer and use it in GitHub Desktop.
Builds pass
1$ cd ~/builds
2$ sudo service couchdb start
3[ OK ]
4$ sleep 3
5$ git clone --branch=master --depth=100 --quiet git://github.com/kdawes/winston-couchdb.git kdawes/winston-couchdb
6$ cd kdawes/winston-couchdb
7$ git checkout -qf 04a974024d6d471e311f6b6e5f8a43feb05abbc5
8$ nvm use 0.8
9Now using node v0.8.11
10$ node --version
11v0.8.11
12$ npm --version
131.1.62
14$ npm install
15npm http GET https://registry.npmjs.org/cradle
16npm http GET https://registry.npmjs.org/cycle
17npm http GET https://registry.npmjs.org/winston
18npm http GET https://registry.npmjs.org/vows
19npm http 200 https://registry.npmjs.org/cycle
20npm http GET https://registry.npmjs.org/cycle/-/cycle-1.0.1.tgz
21npm http 200 https://registry.npmjs.org/vows
22npm http GET https://registry.npmjs.org/vows/-/vows-0.6.4.tgz
23npm http 200 https://registry.npmjs.org/cradle
24npm http GET https://registry.npmjs.org/cradle/-/cradle-0.6.4.tgz
25npm http 200 https://registry.npmjs.org/winston
26npm http GET https://registry.npmjs.org/winston/-/winston-0.6.2.tgz
27npm http 200 https://registry.npmjs.org/cycle/-/cycle-1.0.1.tgz
28npm http 200 https://registry.npmjs.org/vows/-/vows-0.6.4.tgz
29npm http 200 https://registry.npmjs.org/cradle/-/cradle-0.6.4.tgz
30npm http 200 https://registry.npmjs.org/winston/-/winston-0.6.2.tgz
31npm http GET https://registry.npmjs.org/follow
32npm http GET https://registry.npmjs.org/request
33npm http GET https://registry.npmjs.org/vargs/0.1.0
34npm http GET https://registry.npmjs.org/eyes
35npm http GET https://registry.npmjs.org/diff
36npm http GET https://registry.npmjs.org/async
37npm http GET https://registry.npmjs.org/colors
38npm http GET https://registry.npmjs.org/eyes
39npm http GET https://registry.npmjs.org/pkginfo
40npm http GET https://registry.npmjs.org/request
41npm http GET https://registry.npmjs.org/stack-trace
42npm http 200 https://registry.npmjs.org/vargs/0.1.0
43npm http GET https://registry.npmjs.org/vargs/-/vargs-0.1.0.tgz
44npm http 200 https://registry.npmjs.org/diff
45npm http GET https://registry.npmjs.org/diff/-/diff-1.0.4.tgz
46npm http 200 https://registry.npmjs.org/eyes
47npm http GET https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz
48npm http 200 https://registry.npmjs.org/follow
49npm http GET https://registry.npmjs.org/follow/-/follow-0.7.2.tgz
50npm http 200 https://registry.npmjs.org/colors
51npm http GET https://registry.npmjs.org/colors/-/colors-0.6.0-1.tgz
52npm http 200 https://registry.npmjs.org/eyes
53npm http 200 https://registry.npmjs.org/pkginfo
54npm http GET https://registry.npmjs.org/pkginfo/-/pkginfo-0.2.3.tgz
55npm http 200 https://registry.npmjs.org/vargs/-/vargs-0.1.0.tgz
56npm http 200 https://registry.npmjs.org/stack-trace
57npm http GET https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.6.tgz
58npm http 200 https://registry.npmjs.org/request
59npm http GET https://registry.npmjs.org/request/-/request-2.12.0.tgz
60npm http 200 https://registry.npmjs.org/diff/-/diff-1.0.4.tgz
61npm http 200 https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz
62npm http 200 https://registry.npmjs.org/async
63npm http GET https://registry.npmjs.org/async/-/async-0.1.22.tgz
64npm http 200 https://registry.npmjs.org/follow/-/follow-0.7.2.tgz
65npm http 200 https://registry.npmjs.org/colors/-/colors-0.6.0-1.tgz
66npm http 200 https://registry.npmjs.org/pkginfo/-/pkginfo-0.2.3.tgz
67npm http 200 https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.6.tgz
68npm http 200 https://registry.npmjs.org/request/-/request-2.12.0.tgz
69npm http 200 https://registry.npmjs.org/request
70npm http GET https://registry.npmjs.org/request/-/request-2.9.203.tgz
71npm http 200 https://registry.npmjs.org/async/-/async-0.1.22.tgz
72npm http 200 https://registry.npmjs.org/request/-/request-2.9.203.tgz
73npm http GET https://registry.npmjs.org/request
74npm http 304 https://registry.npmjs.org/request
75npm http GET https://registry.npmjs.org/request/-/request-2.2.9.tgz
76npm http 200 https://registry.npmjs.org/request/-/request-2.2.9.tgz
77cycle@1.0.1 node_modules/cycle
78
79vows@0.6.4 node_modules/vows
80├── eyes@0.1.8
81└── diff@1.0.4
82
83winston@0.6.2 node_modules/winston
84├── eyes@0.1.8
85├── colors@0.6.0-1
86├── stack-trace@0.0.6
87├── pkginfo@0.2.3
88├── async@0.1.22
89└── request@2.9.203
90
91cradle@0.6.4 node_modules/cradle
92├── vargs@0.1.0
93├── request@2.12.0
94└── follow@0.7.2 (request@2.2.9)
95$ curl -X PUT 127.0.0.1:5984/logs
96{"ok":true}
97$ npm test
98
99> winston-couchdb@0.6.1 test /home/travis/builds/kdawes/winston-couchdb
100> vows test/*-test.js --spec
101
102
103 ♢ winston/transports/couchdb
104
105 An instance of the Couchdb Transport when passed valid options
106 ✓ should have the proper methods defined
107 An instance of the Couchdb Transport the log() method when passed circular metadata
108 ✓ should respond with true
109 An instance of the Couchdb Transport the log() method when passed metadata
110 ✓ should respond with true
111 An instance of the Couchdb Transport the log() method when passed primitive metadata
112 ✓ should respond with true
113 An instance of the Couchdb Transport the log() method with the silly level
114 ✓ should respond with true
115 An instance of the Couchdb Transport the log() method with the info level
116 ✓ should respond with true
117 An instance of the Couchdb Transport the log() method with the error level
118 ✓ should respond with true
119 An instance of the Couchdb Transport the log() method with the warn level
120 ✓ should respond with true
121 An instance of the Couchdb Transport the log() method with the debug level
122 ✓ should respond with true
123 An instance of the Couchdb Transport the log() method with the verbose level
124 ✓ should respond with true
125 An instance of the Couchdb Transport the stream() method using no options
126 ✓ should stream logs
127 An instance of the Couchdb Transport the stream() method using the start option
128 ✓ should stream logs
129 An instance of the Couchdb Transport after the logs have flushed the query() method using basic querying
130 ✓ should return matching results
131 An instance of the Couchdb Transport after the logs have flushed the query() method using the from and until option
132 ✓ should return matching results
133 An instance of the Couchdb Transport after the logs have flushed the query() method using a bad from and until option
134 ✓ should return no results
135 An instance of the Couchdb Transport after the logs have flushed the query() method using the rows option
136 ✓ should return one result
137 An instance of the Couchdb Transport after the logs have flushed the query() method using fields and order option
138 ✓ should return matching results
139
140✓ OK » 17 honored (1.266s)
141
142
143Done. Build script exited with: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment