Skip to content

Commit

Permalink
Re-enable linting in CI (#1160)
Browse files Browse the repository at this point in the history
  • Loading branch information
danrr authored and twiss committed Feb 9, 2021
1 parent 4c15724 commit fe51f97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
cache: npm
addons:
code_climate:
repo_token: $CODECLIMATE_REPO_TOKEN
matrix:
include:
- node_js: "14"
env: OPENPGP_NODE_JS='14' OPENPGPJSTEST='lint'
- node_js: "10"
env: OPENPGP_NODE_JS='10' OPENPGPJSTEST='unit'
- node_js: "12"
Expand Down
4 changes: 4 additions & 0 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ if [ $OPENPGPJSTEST = "coverage" ]; then
npm run coverage
codeclimate-test-reporter < coverage/lcov.info

elif [ $OPENPGPJSTEST = "lint" ]; then
echo "Running OpenPGP.js eslint."
npm run lint

elif [ $OPENPGPJSTEST = "unit" ]; then
echo "Running OpenPGP.js unit tests on node.js."
npm test ${LIGHTWEIGHT+ -- --grep lightweight}
Expand Down

0 comments on commit fe51f97

Please sign in to comment.