Test using before_install rather than before_script in travis.yml