Sign In to Travis CI
Navigate to https://travis-ci.org/¬†and click the Sign in with GitHub button at the top right. Sign in with your credentials if you are not automatically signed in.
Select the Repo to Integrate
On the lefthand side of Travis CI, select the repository to integrate (under the My Repositories header). Copy the URL from the search bar. This should be of the form¬†https://travis-ci.org/<REPO OWNER>/<REPO NAME>
Log In to Bluemix
Navigate to https://bluemix.net. Click the Log In button at the top left and sign in using your credentials.
Navigate to Toolchains
Once in Bluemix, select the Menu button at the top left. Select the Services button from the menu options, then select the DevOps item towards the bottom. This should navigate you to a new page. Select¬†Toolchains¬†on the lefthand side if it is¬†not already selected.
Create a Toolchain
Click the Create a Toolchain button on the lefthand side.
Select the toolchain template that fits your needs best, this tutorial is using the¬†Build your own toolchain option. Name your toolchain and click the Create button.
Add Travis CI to the Toolchain
Click the Add a Tool button.
Select Other Tool from the list of options.
Fill in the text boxes as follows:
- Tool name: Travis CI
- Lifecycle phase:¬†Deliver
- Icon URL:¬†https://cdn.travis-ci.com/images/logos/TravisCI-Mascot-1-61693e8ade8a553878c2307f0c08749d.svg
- Documentation URL:¬†https://docs.travis-ci.com/
- Tool instance name: <Repo name>
- Tool instance URL: <URL from step 2>
- Description:¬†The Travis CI build of our <Repo name>¬†repo
- Additional properties: <Leave blank>
Click the Create Integration button.
Thats it! Your toolchain is now integrated with Travis CI. Clicking on this toolchain integration will bring you back to the Travis CI build specified in step 1.
Travis CI is a powerful DevOps¬†tool. Integrating¬†Travis CI with Bluemix allows Bluemix users to leverage this power.
Jesse Antoszyk is a Software Engineer with IBM Cloud.