Skip to main content

Travis CI

This walkthrough takes you through setting up Continuous Integration with Travis. We generate a configuration file called .travis.yml with your SDK for this purpose.

Configure CI Flag

The first step is to turn on the Travis CI flag in the Continuous Integration Settings section of the Code Generation Settings.

Flag

Add Repo in Travis

The second step is to add your already existing SDK repository to Travis. To do so click New Project on the main page of Travis CI.

New Project

After that, select your SDKs repository from the projects list.

Add

Deploy to GitHub

The third step is to generate your SDK and push a new commit to the repository.

note

Be sure to push to the same repository which you added to Travis.

Watch it run

The final step is to sit back and watch your API and the SDK being tested. You'll be notified by email if any of the tests fail.

Build Completed