make sure the router can find the pattern div

also only build master (and pull requests to master) on travis