Fixing before_* and install/script actions for Travis