set up build environment for travis