File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,17 @@ install:
1616 - npm install
1717script :
1818 - npm run test:unit -- --coverage
19- - npm run test:e2e
20- after_success :
2119 - npm install coveralls
2220 - cat ./coverage/lcov.info | coveralls
23- - chmod u+x ./release.sh
24- - ./release.sh
21+ - npm run test:e2e
22+ # - chmod u+x ./release.sh
23+ # - ./release.sh
2524
25+ before_deploy :
26+ - export TRAVIS_TAG=${TRAVIS_TAG:-$(node -p "require('./package.json').version")-$(date +'%Y.%m.%d')-$(git log --format=%h -1)}
27+ - git tag ${TRAVIS_TAG}
28+ - npm run build
29+ - export PACKAGE=$(npm pack --silent)
2630deploy :
2731 - provider : releases
2832 skip_cleanup : true
@@ -33,13 +37,16 @@ deploy:
3337 repo : eidng8/vue-tree
3438 branch : master
3539 tags : true
40+ condition : ${TRAVIS_EVENT_TYPE} == push
3641 - provider : npm
3742 skip_cleanup : true
3843 email : cheung.jackey@gmail.com
3944 api_key :
4045 secure : 2mIMc5dD88yzeeAhV1D8uTFJIJhYKgTMPH36K3HbLvMHUtSYRQBOob9H075iEsQ3Ta1Liuk27T93Q0atVsybUj1ufWo0Hzal0iYd4s1aj08hTsiIahD0EPf+dmSRaUELXqjFofXgboRugpxDeyTvOjCTjKT+eF3c1c+X7AFiPMmVzLJmx3eFRb8y3F9yUJ5nVz8NyvjJzv6Me6sf59O8a04awqL9okaSmJcdj79/7lkUzWAQ00LNKHXU+eP5C65VMciqu02PCRIk+C2nNOfw7IH5cRW3ZPzngPu6HAPgeUP0CloRU8yM8qU1LF9A/1IE09fRvctZnOCR2zt3EigmrmWVPPqiYBy2G95NQCJfGlAfynWVl+r/aMHmtABb818OBUyOXBxhEISrW9jJVm3z1N4gqYr+/Yfc62jkCGwUQHhDBOgOuNQv+G/8dN/FzRqRbCm/rXLcP4HaRfFu+CDkf+MFKu5jF5R7QFydRG3XVCOv73mpt/AFewJUJs7+IY/jPQ7J4JMeVhDYo3l31iC1mPE4+ylk9skq6Ss5v17N7/uahE8odV9tUyx0vDUTXfzjtIp6EH+y59HFNHn6dO2wAnQyozGvcDiQazt8jgcEcEAsRiVjrfVYO+UxBLTV2keXkvE4rzdAJZXJZblwRuyC5yFmBlUNGY38bpVBZZYTB+g=
4146 on :
4247 repo : eidng8/vue-tree
48+ branch : master
49+ condition : ${TRAVIS_EVENT_TYPE} == push
4350 # tags: true
4451after_deploy :
4552 # I want to make sure the dev is at the tip of every release.
You can’t perform that action at this time.
0 commit comments