change BASE_DIR to PWD for Travis CI testing