Can Travis CI be configured for private NPM deployment on Nodejitsu?

I would like to use Travis CI to build, test and deploy my project as an NPM module for our Nodejitsu hosted private registry .

I've followed the instructions Travis CI provides for posting to npmjs.org, which include adding the following to yours .travis.yml

:

deploy:
  provider: npm
  email: ...
  api_key: ...

      

This config works fine for deployment to npmjs.org. Nodejitsu has some documentation on deploying complete node.js apps using Travis CI, which mentions that the provider is instead npm

switching to nodejitsu

. It fails with errors missing user

and failed to deploy

no additional information. This user is the owner of the module and can successfully publish it from the command line.

Does anyone know if Travis CI might be able to deploy to a private NPM, specifically one hosted by Nodejitsu? Thank!

+3
npm travis-ci nodejitsu


source to share


No one has answered this question yet

Check out similar questions:

1544
How can I upgrade NodeJS and NPM to the next versions?
476
How do I update Node.js and npm on Windows?
nineteen
How to publish private projects in Sinopia (npm adduser for private registry doesn't work)
7
Travis K.I. NetworkingError: CERT_UNTRUSTED error between Node.js and AWS S3 bucket
3
Skipping deployment with npm provider as this branch is not allowed to deploy
1
Continuous integration + "deploy" npm modules?
1
Travis CI expands into S3 bucket without working with secure keys
1
Travis hosted by firebase and create-react-app: cannot find shared directory
0
travis-ci failed to expand to sonatip
0
Multiple NPM registries when someone is behind a VPN



All Articles
Loading...
X
Show
Funny
Dev
Pics