Pypi deployment error: invalid option "--password ="

I am trying to configure deployment on pypi, but I get an error after building the test. My travis-ci file is here:

https://github.com/EnlightNS/enlightns-cli/blob/master/.travis.yml

I used the setup pypi command line that generated the section in my .travis.yml file.

travis setup pypi

Build error here:

https://travis-ci.org/EnlightNS/enlightns-cli/jobs/78112477

The error is here:

 Fetching: dpl-1.7.21.gem (100%) Successfully installed dpl-1.7.21 1 gem installed invalid option "--password=" failed to deploy 

I cannot understand what I am doing wrong.

Hi

+7
travis-ci
source share
1 answer

From issue 327 (OP open) because it had special characters.

And docs.travis-ci on the encryption key mentions the need to avoid special characters such as curly braces, brackets, backslashes, and pipe characters.

For example, if you want to assign the line 6 & a (5! 1Ab \ to FOO, you need to do:

 travis encrypt "FOO=6\\&a\\(5\\!1Ab\\\\" 

travis encrypts the string FOO=6\&a\(5\!1Ab\\ , which bash then uses for evaluation in the build environment.

Equivalently, you can do:

 travis encrypt 'FOO=6\&a\(5\!1AB\\' 
0
source share

All Articles