Skip to content
This repository has been archived by the owner on Aug 22, 2020. It is now read-only.

Commit

Permalink
fix(travis): coverage
Browse files Browse the repository at this point in the history
publish coverage report in the test stage
  • Loading branch information
Eugene Kuzmenko committed Jan 28, 2019
1 parent d229cee commit d55761a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,10 @@ git:
submodules: false
notifications:
email: false
before_install: mkdir -p ~/$TRAVIS_BUILD_NUMBER
jobs:
include:
- script:
- yarn test
- cp ./coverage/lcov.info ~/$TRAVIS_BUILD_NUMBER/lcov.info
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- stage: deploy
name: Coverage
script: cat ~/$TRAVIS_BUILD_NUMBER/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- name: Release
script: yarn semantic-release

0 comments on commit d55761a

Please sign in to comment.