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 almost 4 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.