App.json schema adds support for a "testing" environment.

Change effective on 22 February 2017

Applications using app.json to configure deployments can now specify a separate configuration for Heroku CI using the new environments section. (Heroku CI is in limited public beta, you can apply for access here.)