Skip to content
This repository was archived by the owner on Apr 7, 2022. It is now read-only.

Updates to Travis CI #11

Merged
merged 3 commits into from
Jan 21, 2019
Merged
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
21 changes: 18 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
language: node_js
sudo: false
node_js:
- "8"
- "7"
- "6"
- "7"
- "8"
- "9"
- "10"
- "11"
- "node"

cache: npm

matrix:
fast_finish: true
allow_failures:
- node_js: node

script:
- npm run lint
- npm run test-and-coverage
- npm run test-and-coverage

after_success:
- cat ./coverage/lcov.info | codacy-coverage
- codecov
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "src/Parser.js",
"scripts": {
"test": "lab -a code -v",
"test-and-coverage": "istanbul cover lab --report lcovonly -- -a code -v --timeout 10000 -l && cat ./coverage/lcov.info | codacy-coverage && codecov",
"test-and-coverage": "istanbul cover lab --report lcovonly -- -a code -v --timeout 10000 -l",
"lint": "eslint --quiet .",
"precommit": "lint-staged",
"update-applications": "node ./bin/update-applications",
Expand Down