Skip to content

Commit

Permalink
Updated the .travis.yml with proper-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
nishant-jain-94 committed Nov 8, 2019
1 parent 041bb02 commit be8bed8
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 be8bed8

Please sign in to comment.