try factoring before_install out into diagrams-travis repo