Skip to content

Commit f1b7a4d

Browse files
committed
build(semantic release): Adjust travis file to fix semantic release
1 parent fc0bbb9 commit f1b7a4d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ before_install:
1515

1616
install:
1717
- pip install --user bumpversion
18-
- npm install @semantic-release/exec
18+
- npm install -g @semantic-release/exec
1919
- bundle install
2020

2121
script:
@@ -24,6 +24,9 @@ script:
2424
deploy:
2525
- provider: script
2626
script: npx travis-deploy-once "npx semantic-release"
27+
on:
28+
branch: master
29+
rvm: 2.5.1
2730

2831
- provider: rubygems
2932
api_key: $RUBYGEMS_API_KEY

0 commit comments

Comments
 (0)