Permalink
Browse files

add drone.yml

  • Loading branch information...
1 parent b65b221 commit 08bb7d7ecee812b460aa85e4ecfe091f372c6689 @fengmk2 fengmk2 committed Feb 13, 2014
Showing with 12 additions and 2 deletions.
  1. +9 −0 .drone.yml
  2. +1 −0 .npmignore
  3. +2 −2 test/urllib.test.js
View
@@ -0,0 +1,9 @@
+image: node0.10
+# env:
+# - GOPATH=/var/cache/drone
+script:
+ - npm test
+notify:
+ email:
+ recipients:
+ - fengmk2@gmail.com
View
@@ -1,5 +1,6 @@
logo.png
.travis.yml
+.drone.yml
examples/
test/
Makefile
View
@@ -650,10 +650,10 @@ describe('urllib.test.js', function () {
describe('https request', function () {
it('GET github page', function (done) {
- urllib.request('https://github.com/TBEDP/urllib', { timeout: 10000 },
+ urllib.request('https://github.com/fengmk2/urllib', { timeout: 10000 },
function (err, data, res) {
should.not.exist(err);
- data.toString().should.include('TBEDP/urllib');
+ data.toString().should.include('fengmk2/urllib');
res.should.status(200);
res.should.have.header('content-type', 'text/html; charset=utf-8');
done();

0 comments on commit 08bb7d7

Please sign in to comment.