Steps that Travis CI takes to protect your environment-specific variables

Travis CI will, by default, hide any variables such as tokens and environment variables and simply display the string [secure] in their place.

If you go to build #3 https://travis-ci.org/packtci/puppeteer-headless-chrome-travis-yml-script/builds/398696669), you will see the following entry:

Remember that we added the following encrypted environment variable in this repository in Chapter 10Travis CI CLI Commands and Automation:

travis encrypt SECRET_VALUE=SuperSecret12345 --add

Notice that this command adds the following entry into the Travis YML script:

env: global: ...

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.