I used snapcraft enable-ci travis to set up the configuration. Everything runs fine until the push step of the created snap.
Credentials should be fine and I do not see what might be wrong here.
No valid credentials found. Have you run "snapcraft login"?
Root macaroon not in the config file. Have you run "snapcraft login"?
@jacqueswww hi, I have exactly the same problem, but I don’t understand what you mean in your reply.
During the travis build there is first the error
openssl aes-256-cbc -K $encrypted_9af9a5772f45_key -iv $encrypted_9af9a5772f45_iv -in .snapcraft/travis_snapcraft.cfg -out .snapcraft/snapcraft.cfg -d
iv undefined
and later I get the same error as @pat-s described.
In fact, the variables iv and K are never exported and I have not set them in the settings for travis.