Skip to content

Commit

Permalink
fix: check for writer-opts.js
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Feb 19, 2019
1 parent 655a2fb commit 54235f7
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
- wget https://raw.githubusercontent.com/conventional-changelog/conventional-changelog/917d66be0ee7e73b3ce4e82447878c521eac1c05/packages/conventional-changelog-angular/writer-opts.js -O /home/travis/build/myii/test-travis-ci/node_modules/conventional-changelog-angular/writer-opts.js
- sed -i -e 's:Bug Fixes:Bug and General Fixes:' /home/travis/build/myii/test-travis-ci/node_modules/conventional-changelog-angular/writer-opts.js
- cat /home/travis/build/myii/test-travis-ci/node_modules/conventional-changelog-angular/writer-opts.js
# - cd /home/travis/build/myii/test-travis-ci/node_modules/semantic-release
# - npm run semantic-release
# - npx --no-install semantic-release
- npx semantic-release
- cat /home/travis/build/myii/test-travis-ci/node_modules/conventional-changelog-angular/writer-opts.js

# # - npm list -g
# - nvm which current
Expand All @@ -31,10 +36,12 @@ jobs:
# #
# # break the build with this to prevent the commit
# - ls -al /home/travis/.nvm/versions/node/v8.9.1/lib/node_modules/conventional-changelog-angular/
deploy:
provider: script
skip_cleanup: true
script:
# Use nvm to install and use the Node LTS version (nvm is installed on all Travis images)
# - nvm install lts/*
- npx semantic-release
# deploy:
# provider: script
# skip_cleanup: true
# script:
# # Use nvm to install and use the Node LTS version (nvm is installed on all Travis images)
# # - nvm install lts/*
# # - npx semantic-release
# - cd /home/travis/build/myii/test-travis-ci/node_modules/semantic-release
# - npx --no-install semantic-release

0 comments on commit 54235f7

Please sign in to comment.