Skip to content

Commit

Permalink
Merge pull request #1 from MitMaro/coveralls-travis
Browse files Browse the repository at this point in the history
Finish travis build and enable coveralls
  • Loading branch information
MitMaro authored Dec 16, 2017
2 parents dd6ded5 + 6671331 commit 4b4d239
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ branches:
node_js:
- '6'
- '8'
before_script: npm install coveralls
after_script: test $TRAVIS_NODE_VERSION = "8" && nyc npm test && nyc report --reporter=text-lcov | coveralls
script: npm run test
deploy:
provider: npm
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Based on [auth-header][8] which was licensed under [CC0-1.0][9]. This project is
[1]:https://david-dm.org/MitMaro/http-authorization-header
[2]:https://travis-ci.org/MitMaro/http-authorization-header
[3]:https://coveralls.io/github/MitMaro/http-authorization-header?branch=master
[4]:https://www.npmjs.com/package/server-shutdown
[4]:https://www.npmjs.com/package/@mitmaro/http-authorization-header
[5]:https://raw.githubusercontent.com/MitMaro/http-authorization-header/master/LICENSE
[6]:https://tools.ietf.org/html/rfc7235
[7]:https://nodejs.org/en/download/
Expand Down
7 changes: 0 additions & 7 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
'use strict';

// TODO
// coveralls
// npm deploy
// fork repo
// replace content with repo
// move towards 1.0.0

const InvalidHeaderError = require('./error/invalid-header-error');
const InvalidInputError = require('./error/invalid-input-error');
const {create, createUnsafe, createToken68, createToken68Unsafe} = require('./create');
Expand Down
2 changes: 2 additions & 0 deletions test/src/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ describe('index', function () {
'createToken68',
'createToken68Unsafe',
'parse',
'InvalidHeaderError',
'InvalidInputError',
]);
});
});

0 comments on commit 4b4d239

Please sign in to comment.