fixed ordering of before_install block in .travis.yml