Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

travis-ci triggers build only for master branch in github repo

Tags:

I had two branches (master and gh-pages) in github git repo https://github.com/larrycai/LASO

According to the document http://about.travis-ci.org/docs/user/build-configuration/ , if the .travis.yml file exists in the branch, it will be triggered on all branches

While currently it is triggered for build in master branch only, see https://travis-ci.org/#!/larrycai/LASO/branch_summary

Do I must set white or black list in .travis.yml even I want to build for all branches.

like image 618
Larry Cai Avatar asked Oct 14 '12 01:10

Larry Cai


1 Answers

According with this merged pull request and this documentation entry, you now can run tests on gh-pages branch by adding the branch to the whitelist:

branches:   only:     - gh-pages 
like image 119
neoascetic Avatar answered Sep 25 '22 02:09

neoascetic