Maybe you have heard about the new Build Status in Bitbucket – it’s awesome and shows you how good your commit / pull request is doing.
There is still a lot to be improved especially for pull requests compared to github but they will get there!
Create a php file anywhere (must be reachable from the web) with the following content: snippet link
The script accepts the json data from codeship and pushes the build status (in progress | failed | success) to bitbucket. Also fill in your credentials from bitbucket!
that’s it 🙂 enjoy!