Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERR! semantic-release Could not create Travis CI hook. #6

Closed
gr2m opened this issue Aug 4, 2015 · 10 comments
Closed

ERR! semantic-release Could not create Travis CI hook. #6

gr2m opened this issue Aug 4, 2015 · 10 comments

Comments

@gr2m
Copy link
Member

gr2m commented Aug 4, 2015

? Is the GitHub repository private? No

? What is your npm registry? https://registry.npmjs.org/
? What is your npm username? gr2m
? What is your npm email? gregor@martynus.net
? What is your npm password? **************
? What is your GitHub username? gr2m
? What is your GitHub password? ************
? What CI are you using? Travis CI
ERR! semantic-release Could not create Travis CI hook.
ERR! semantic-release Error: Travis encountered an error, sorry :(
ERR! semantic-release     at /usr/local/lib/node_modules/semantic-release-cli/node_modules/travis-ci/lib/travis-ci.js:49:30
ERR! semantic-release     at Request._callback (/usr/local/lib/node_modules/semantic-release-cli/node_modules/travis-ci/lib/travis-http.js:49:13)
ERR! semantic-release     at Request.self.callback (/usr/local/lib/node_modules/semantic-release-cli/node_modules/travis-ci/node_modules/request/index.js:148:22)
ERR! semantic-release     at Request.emit (events.js:98:17)
ERR! semantic-release     at Request.<anonymous> (/usr/local/lib/node_modules/semantic-release-cli/node_modules/travis-ci/node_modules/request/index.js:886:14)
ERR! semantic-release     at Request.emit (events.js:117:20)
ERR! semantic-release     at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/semantic-release-cli/node_modules/travis-ci/node_modules/request/index.js:837:12)
ERR! semantic-release     at IncomingMessage.emit (events.js:117:20)
ERR! semantic-release     at _stream_readable.js:943:16
ERR! semantic-release     at process._tickCallback (node.js:419:13)
ERR! semantic-release  [Error: Travis encountered an error, sorry :(]
@boennemann
Copy link
Member

@gr2m Use 1.0.3 and try again please :)

See the back and forth in #4

@gr2m
Copy link
Member Author

gr2m commented Aug 4, 2015

same error. This worked before for me.

$ node -v
v0.10.32
$ npm -v
2.13.1

@boennemann
Copy link
Member

@gr2m Can you verify that it works if you downgrade the CLI to 1.0.1?

@christophwitzko
Copy link
Contributor

You might try to enable the repository on Travis manually https://travis-ci.org/profile

@gr2m
Copy link
Member Author

gr2m commented Aug 4, 2015

the repository is already enabled: https://travis-ci.org/hoodiehq/pouchdb-hoodie-store

@gr2m
Copy link
Member Author

gr2m commented Aug 4, 2015

sorry, same error on 1.0.1 :/

@gr2m
Copy link
Member Author

gr2m commented Aug 4, 2015

worked fine on a new repo:
https://github.com/gr2m/tmp-test-repo

@boennemann
Copy link
Member

@gr2m Try updating the metadata in the package.json: https://github.com/hoodiehq/pouchdb-hoodie-store/blob/master/package.json#L18

It seems like the cli is trying to enable this repo for hipsterbrown on travis.

@gr2m
Copy link
Member Author

gr2m commented Aug 4, 2015

that was it 👍

Not sure if you can add a better error message, or make the setup more verbose if the provided github username isn't the one set in the git url?

@boennemann
Copy link
Member

Good idea, we should dump the config it's using with the verbose loglevel. Glad it's working now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants