Adds coveralls to travis

Adds coverage foldero gitignore
This commit is contained in:
Agustin Pane 2020-06-24 11:18:14 -03:00
parent 0cc2ec31f0
commit 82772ae9c7
3 changed files with 4 additions and 0 deletions

2
.gitignore vendored
View File

@ -8,3 +8,5 @@ dist
electron-builder.yml electron-builder.yml
.yalc/ .yalc/
yalc.lock yalc.lock
# testing
/coverage/

View File

@ -38,6 +38,7 @@ after_success:
- ./config/travis/deploy_pull_request.sh - ./config/travis/deploy_pull_request.sh
# Releases (tagged commits) - Deploy it to a release environment # Releases (tagged commits) - Deploy it to a release environment
- ./config/travis/deploy_release.sh - ./config/travis/deploy_release.sh
- yarn coveralls
deploy: deploy:
# Development environment # Development environment

View File

@ -6,4 +6,5 @@ if [[ -n "$TRAVIS_TAG" ]]; then export REACT_APP_ENV='production'; fi
yarn lint:check yarn lint:check
yarn prettier:check yarn prettier:check
yarn test
yarn build yarn build