Pregunta

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.

¿Fue útil?

Solución

gh-pages are ignored because most people want travis to ignore them.

Otros consejos

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
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top