moving build logic to travis.yml