Just wondering how to set multiple email addresses into the notifications.emails.recipients
array in .travis.yml
. I assume it should be as follows but I’m not sure since, obviously, I cannot check it:
$ travis encrypt "alice@example.org bob@example.org" --add notifications.email.recipients
It produces the following output in .travis.yml
:
notifications:
email:
recipients:
secure: qwejHTxbs0leAmVKtkubEVHVg/dSRHudOmMo4pGHhino1deWZyBgXlSOXTw35Ty+SPMjK4QUsEKnzVJNm9NDtZjQIt6doC383pYfvJp7uQWFSMduihUTKmXEdsLe03uYYvJqIOTgl9Pd/NSGyb7ok4pWCVze4ZRfA1casdFjk=
Is this correct? or should I use array syntax?:
$ travis encrypt "[ \"alice@example.org\", \"bob@example.org\" ]" --add notifications.email.recipients