Skip to content

Commit

Permalink
trying to add code climate and bundle analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
eidng8 committed Apr 14, 2020
1 parent 6b752d0 commit 4f0e55f
Show file tree
Hide file tree
Showing 5 changed files with 409 additions and 7 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@ cache:
- node_modules
install:
- npm install

before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- if [[ ${BUNDLE_ANALYZER_TOKEN} != "" ]]; then npm install --no-save @bundle-analyzer/webpack-plugin; fi
- npm run test:unit -- --coverage
- npm install coveralls
- cat ./coverage/lcov.info | coveralls
- npm run test:e2e
#- git checkout dev
#- git rebase master
#- git push
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

before_deploy:
- export TRAVIS_TAG=${TRAVIS_TAG:-$(node -p "require('./package.json').version")-$(date +'%Y.%m.%d')-$(git log --format=%h -1)}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Master Build](https://travis-ci.com/eidng8/vue-tree.svg?branch=master)](https://travis-ci.com/eidng8/vue-tree)
[![Master Coverage](https://coveralls.io/repos/github/eidng8/vue-tree/badge.svg?branch=master)](https://coveralls.io/github/eidng8/vue-tree?branch=master)
[![Known Vulnerabilities](https://snyk.io/test/github/eidng8/vue-tree/badge.svg?targetFile=package.json)](https://snyk.io/test/github/eidng8/vue-tree?targetFile=package.json)

A Vue.js tree view component with stable DOM tree. By stable, it means the
DOM structure will not change once it is rendered.
Expand Down
Loading

0 comments on commit 4f0e55f

Please sign in to comment.