Travis CI
Covered in this doc
Integrating Percy with your Travis CI environment
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.

Travis environment variable config
Keep your Percy token secret
Anyone with access to your token can add builds to your project, though they cannot read data.
For Travis CI, make sure the "Display value in build log" toggle is off.
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.
Updated over 3 years ago
If you haven't installed and configured an SDK or source code integration, those are your next steps to getting started with visual testing.