Skip to content

Commit

Permalink
add drone.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Feb 13, 2014
1 parent b65b221 commit 08bb7d7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .drone.yml
@@ -0,0 +1,9 @@
image: node0.10
# env:
# - GOPATH=/var/cache/drone
script:
- npm test
notify:
email:
recipients:
- fengmk2@gmail.com
1 change: 1 addition & 0 deletions .npmignore
@@ -1,5 +1,6 @@
logo.png
.travis.yml
.drone.yml
examples/
test/
Makefile
Expand Down
4 changes: 2 additions & 2 deletions test/urllib.test.js
Expand Up @@ -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();
Expand Down

0 comments on commit 08bb7d7

Please sign in to comment.