Revert "Removed before_install section in .travis.yml"

This reverts commit 1fa963a5fe7ef51c28d869034f72b9c3e9e207cc.