Added branch check to .travis.yml.