How do I get Travis' build working directory in .travis.yml?
Travis CiTravis Ci Problem Overview
When working with the .travis.yml, is there an environment variable that contains the name of the current build directory in Travis-CI? Looking through the docs here I don't see one.
Travis Ci Solutions
Solution 1 - Travis Ci
You probably want $TRAVIS_BUILD_DIR
, which is the directory we clone the repository to and cd
into afterwards, before running your tests.