Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: node_js
node_js:
- "node"
- "lts/*"
- "8"

script:
# todo: remove '|| true' and enforce linter
- npm run lint || true
- npm run test
- npm run test:coverage
- npm run dist
#- npm run clean
#- npm run pems
#- npm run import
#- npm run local-cert
# todo: only on tag
#- npm run deploy
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"local-cert": "node bin/local.js",
"test": "mocha test/unit --recursive --require test/setup --colors --timeout 15000",
"test:coverage": "nyc --reporter=html --reporter=lcov --reporter=text mocha test/unit --recursive --require test/setup",
"deploy": ". ./deploy.sh"
"deploy": ". ./deploy.sh",
"lint": "eslint .",
"eslint": "eslint"
},
"keywords": [
"letsencrypt",
Expand Down