Skip to content

Commit

Permalink
Merge pull request #2 from nishant-jain-94/dev
Browse files Browse the repository at this point in the history
Updated the .travis.yml with proper-commands
  • Loading branch information
nishant-jain-94 committed Nov 8, 2019
2 parents f8e80de + be8bed8 commit d85eedd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ script:
- yarn run lint
- yarn run test:coverage:coveralls
before_deploy:
- tar -zcf ${TRAVIS_BUILD_DIR}${REPO}-${BUILD_ENV}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}.tar.gz ${REPO}
- tar -zcf ${TRAVIS_BUILD_DIR}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}.tar.gz .
- zip -qr ${TRAVIS_BUILD_DIR}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}.zip . -x *.git* coverage/\* node_modules/\*
notifications:
slack: theselftalk:EHiDWYYgq34Y172TrHTqA16W
deploy:
Expand All @@ -20,7 +21,7 @@ deploy:
tag: true
- provider: releases
api_key: "$GITHUB_OAUTH_TOKEN"
file: ${TRAVIS_BUILD_DIR}${REPO}-${BUILD_ENV}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}.tar.gz
file: ${TRAVIS_BUILD_DIR}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}.tar.gz
skip_cleanup: true
on:
branch: master
Expand Down

0 comments on commit d85eedd

Please sign in to comment.