File tree 5 files changed +410
-8
lines changed
5 files changed +410
-8
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,19 @@ cache:
14
14
- node_modules
15
15
install :
16
16
- npm install
17
+
18
+ before_script :
19
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
20
+ - chmod +x ./cc-test-reporter
21
+ - ./cc-test-reporter before-build
17
22
script :
23
+ - if [[ ${BUNDLE_ANALYZER_TOKEN} != "" ]]; then npm install --no-save @bundle-analyzer/webpack-plugin; fi
18
24
- npm run test:unit -- --coverage
19
25
- npm install coveralls
20
26
- cat ./coverage/lcov.info | coveralls
21
27
- npm run test:e2e
22
- # - git checkout dev
23
- # - git rebase master
24
- # - git push
28
+ after_script :
29
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
25
30
26
31
before_deploy :
27
32
- export TRAVIS_TAG=${TRAVIS_TAG:-$(node -p "require('./package.json').version")-$(date +'%Y.%m.%d')-$(git log --format=%h -1)}
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Master Build] ( https://travis-ci.com/eidng8/vue-tree.svg?branch=master )] ( https://travis-ci.com/eidng8/vue-tree )
4
4
[ ![ Master Coverage] ( https://coveralls.io/repos/github/eidng8/vue-tree/badge.svg?branch=master )] ( https://coveralls.io/github/eidng8/vue-tree?branch=master )
5
+ [ ![ 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 )
5
6
6
7
A Vue.js tree view component with stable DOM tree. By stable, it means the
7
8
DOM structure will not change once it is rendered.
You can’t perform that action at this time.
0 commit comments