added os setting and brew commands to travis config