> travis encrypt --repo native-api/test_travis TOKEN=pypi-AgEIcHlwaS5vcmcCJGE4OTI5OGM4LWY5MWEtNGI5ZS05M2Q4LTBkMzkwZmEyMTIyNgACJXsicGVybWlzc2lvbnMiOiAidXNlciIsICJ2ZXJzaW9uIjogMX0AAAYg9li4PCqk6OT8WZhUr_mLrf6ZLMmR5qpQ3dFxleaCE50
Please add the following to your .travis.yml file:
secure: "kEq9bDSr5TI8wbTM4tzvrWF2vsH2CcCb0fUnQlgHqgiFgNIJgL0sHLz3xAJRAsZE803AQhGkMvdQQ86vb9vQ5cdO1CC2X9fWqjQCd7WHGVokrj6qbt82gcd7heharKlQFRN+ScpJMyVQFtzQfZ5mkcwZGTgel9tRJdbsg1uaJENDbqbOE3fhTAoMIud5LK5IbtkqO7+U9EQZj2SesBSYxCAAsPP0L09tqSLCfjt8/fCklG0Za2AZekIOQJHu+OgAIhMeQN7Z1bLa+mmpjQD3xRxAwOmB58g0kpqFinlaAvv9IdEVKJBTBGyacr/KMiQAmgn8zBD6oYt+SSex/SDygfIsR7zSv3sQk3aAS9BqqOCMT7qMGmQEBDIyN2P+auoE08MkoZ8iHywGDXeysRVxq5KwjSQwPTkNAMxKJN1ij8OyslJPrUC84dab7eRQQZMKx/ZkNnvwS8RG6sXs3aJhxYzb/mzZsuiBdI1z6WDCNzq1ufhjXNrqQ4sVdql6Z07aN3dmav6W6j/97gcen9aM5ipZVFWCHWMvx9/2c+az2pDQIH0R6gCwTsTM4VbG6CocUP3wXf8JiyKF8ISE5KcfNVOMEzrvex2ItowFMxCH5E9ctNpvHcwArg5JBZaY8cjXkWSJ6n1YzL+CO8RgA0XkTdodB1oL9CvZ73x7VxKk="
Good catch! Now I wonder why that is, as the variable is set in the project settings. I have restricted the variable to the master branch. I will try out a new key that is not restricted to master and see if that makes this variable show up again.
That’s the reason. Tag builds are not considered to be on the master branch (a tag is effectively a branch that you cannot add further commits to).
Same, installed with gem install travis into a clean ruby 2.4.7p357 (2019-08-28 revision 67796) [x64-mingw32]; the command is run from a Start Command Prompt with Ruby prompt. Maybe you are formatting the command wrong or something.