use TRAVIS_BUILD_DIR if on a Travis machine