Skip to content

Commit

Permalink
fix travis and added coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
angel committed Jun 26, 2019
1 parent 54e76d4 commit 42a4905
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
language: node.js
node_js:
- 8
- 9
- 10
- '8'
cache:
directories:
- node_modules
before_install:
- npm update
install:
- npm install
script:
- npm run test
- npm test
- npm run coveralls
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"flat": "^4.1.0"
},
"devDependencies": {
"coveralls": "^3.0.4",
"eslint": "^6.0.1",
"eslint-plugin-jest": "^22.7.1",
"jest": "^24.8.0",
Expand All @@ -42,7 +43,8 @@
"test": "jest -c ./tests/unit.config.json --coverage",
"test:watch": "jest -c ./tests/unit.config.json --watchAll",
"lint": "eslint --ext .js,lib --ignore-path .gitignore .",
"lint:fix": "eslint --ext .js,lib --ignore-path .gitignore . --fix"
"lint:fix": "eslint --ext .js,lib --ignore-path .gitignore . --fix",
"coveralls": "jest -c ./tests/unit.config.json && cat ./coverage/lcov.info | coveralls"
},
"main": "./lib/blue-pencil",
"engines": {
Expand Down

0 comments on commit 42a4905

Please sign in to comment.