Use environment variable TRAVIS_BUILD_DIR defined by Travis CI