[reqtool][circleci] setting up reqtool on circle ci.
@@ -13,11 +13,14 @@ machine:
PIP_CACHE: "$HOME/.cache/pip"
SDK_TESTING: "true"
DD_AGENT_BRANCH: "master"
+ CORE_BRANCH: "master"
+ REQ_LOCALS: "$HOME/$CIRCLE_PROJECT_REPONAME,$HOME/dd-agent,$HOME/integrations-core"
dependencies:
pre:
- sudo apt-get update ; sudo apt-get install -y curl apt-transport-https git
- git clone -b $DD_AGENT_BRANCH --depth 1 https://github.com/DataDog/dd-agent.git $HOME/dd-agent
+ - git -C $HOME/integrations-core pull || git clone -b $CORE_BRANCH --depth 1 https://github.com/DataDog/integrations-core.git $HOME/integrations-core
- echo "$HOME/dd-agent/" > $(dirname $(pyenv which python))/../lib/python2.7/site-packages/datadog-agent.pth
- pip install pip --upgrade
- pip install docker-compose
