Percy Developer Hub

Welcome to the Percy Developer Hub. You'll find comprehensive guides and documentation to help you start working with Percy as quickly as possible, as well as support if you get stuck. Let's jump right in!

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 about a year ago

What's next

If you haven't installed and configured an SDK or source code integration, those are your next steps to getting started with visual testing.

SDKs overview
Source code integrations

Travis CI

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.