Skip to content

Commit

Permalink
Simplify code coverage reporting code
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Apr 17, 2018
1 parent bc02058 commit 66aa2fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ before_install:
- sudo apt-get install -qq graphicsmagick
- npm install -g npm@5
after_script:
# We need sudo because the coverage data from as-root tests is root:root but not world-readable
- "sudo sh -c 'export PATH=\"'\"$(dirname $(which node)):$PATH\"'\" && npm run test:report-coverage'"
# The coverage data from as-root tests is root:root but not world-readable
- sudo chown -R $(whoami) coverage
- npm run test:report-coverage
notifications:
email: false
webhooks:
Expand Down

0 comments on commit 66aa2fb

Please sign in to comment.