Move travis environment setup logic to travis configuration file