Skip to content

Commit

Permalink
Merge pull request #16 from eidng8/dev
Browse files Browse the repository at this point in the history
trying travis release
  • Loading branch information
eidng8 committed Apr 11, 2020
2 parents c95226f + 0ef89a9 commit 2a23c5d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ install:
- npm install
script:
- npm run test:unit -- --coverage
- npm run test:e2e
after_success:
- npm install coveralls
- cat ./coverage/lcov.info | coveralls
- chmod u+x ./release.sh
- ./release.sh
- npm run test:e2e
# - chmod u+x ./release.sh
# - ./release.sh

before_deploy:
- export TRAVIS_TAG=${TRAVIS_TAG:-$(node -p "require('./package.json').version")-$(date +'%Y.%m.%d')-$(git log --format=%h -1)}
- git tag ${TRAVIS_TAG}
- npm run build
- export PACKAGE=$(npm pack --silent)
deploy:
- provider: releases
skip_cleanup: true
Expand All @@ -33,13 +37,16 @@ deploy:
repo: eidng8/vue-tree
branch: master
tags: true
condition: ${TRAVIS_EVENT_TYPE} == push
- provider: npm
skip_cleanup: true
email: cheung.jackey@gmail.com
api_key:
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=
on:
repo: eidng8/vue-tree
branch: master
condition: ${TRAVIS_EVENT_TYPE} == push
#tags: true
after_deploy:
# I want to make sure the dev is at the tip of every release.
Expand Down

0 comments on commit 2a23c5d

Please sign in to comment.