CodeShip Basic

This chapter shows how to integrate with FeaturePeek when using the CodeShip Basic continuous integration service.

Prerequisite: You should create a FeaturePeek account and configure your peek.yml file before following the steps in this chapter.

Note: This chapter only supports CodeShip Basic (static builds only).

Build only on PR events

In your CodeShip project settings > Build Triggers, ensure that your CI triggers when a new pull request is opened.

CodeShip build trigger

We recommend enabling "Auto-supersede builds" as well, so that only the latest commits build.

Configure your Setup Commands

Navigate to your project on CodeShip, and click the Project Settings link. Under the Tests tab is where you'll edit your Setup Commands.

If you've already been using CodeShip, you likely already have a configuration here. Otherwise, select a starter config to populate the Setup Commands textarea.

Call any commands that are required to run to build your frontend. Usually this entails installing dependencies and calling your build command. After that, ping FeaturePeek using our CI command.

CodeShip setup commands

Sample code repo

You can search the FeaturePeek org on GitHub to find sample repos of frontends that integrate FeaturePeek with CodeShip. Be sure to visit the open pull requests to find links to running public FeaturePeek deployments.

Try it out

Try opening a new pull request that contain the changes in this chapter. When your CI finishes successfully, you should see the FeaturePeek bot comment a link on your pull request. If not, consult our Troubleshooting section.