Sure Dan,
- Create account on https://travis-ci.org
- Sync your moodle project (from your github account). You can find option to do it under User menu -> Accounts
- Update project settings (Go to https://travis-ci.org/{YourAccount}/moodle/builds/ and click settings) and set
- "Build only if .travis.yml is present" to ON
- "Build pushes" to ON
- Add .travis.yml and behat_timing.json (We are using behat_timing.json to distribute features files in less processes, if you don't want to add this file then increase processes in travis.yml) in your project root and push it on github.
- Travis keep looking at your project and when it see .travis.yml it will start behat execution.
.travis.yml & behat_timing.json are attached with this post.