Skip to main content
No Result Found

Integrate App percy with Travis CI

Integrate App percy with Travis CI, a popular CI-CD tool

Follow these steps to integrate App percy with Travis CI:

Configuring environment variables

Start by configuring PERCY_TOKEN, our project-specific, write-only API token. It can be found in your Percy project settings and set via your Travis CI environment variables in settings for a repository

In your Travis repository go to Settings > Environment Variables.

Then set PERCY_TOKEN to the write-only token from your Percy project. This token can be found in each Percy project’s settings.

Percy Token - Travis CI

Keep your Percy token secret.

Anyone with access to your Percy token can add builds to your project, though they cannot read data. If your code is public, do not commit the PERCY_TOKEN to your code.

For Travis CI, make sure the “Display value in build log” toggle is disabled.

Alternative .travis.yml setup

A slightly more complicated way to set secret environment variables in Travis is to encrypt them and store them in your .travis.yml. See the Travis: Encrypted Variables docs for more info.

Reference Topic

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle