Skip to content

Commit

Permalink
Fix CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Mar 24, 2020
1 parent 0bb7372 commit 8c13242
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ matrix:
node_js: 12
script: npm run lint

script: 'npm install && npm run test:ci'
script: npm run test:ci
after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"scripts": {
"lint": "eslint . && prettier --check '**/*.js'",
"test": "mocha",
"test:ci": "npm test && npm run lint && npm run coverage",
"test:ci": "npm test && npm run coverage",
"coverage": "NODE_ENV=development nyc --reporter=lcov --reporter=text --all -- npm test && echo google-chrome coverage/lcov-report/index.html"
},
"repository": {
Expand Down

0 comments on commit 8c13242

Please sign in to comment.