Add requirements/jenkins.txt

Moves custom test requirements out of jenkins and into the repository.
This commit is contained in:
James Laska
2014-09-10 15:25:29 -04:00
parent 9119b40966
commit 8a247ae2c4
2 changed files with 24 additions and 0 deletions

View File

@@ -84,6 +84,19 @@ requirements_pypi:
sudo pip install -r requirements/dev.txt; \
fi
# Install third-party requirements needed for running unittests in jenkins
# (using locally downloaded packages).
requirements_jenkins: requirements
@if [ "$(VIRTUAL_ENV)" ]; then \
(cd requirements && pip install --no-index -r jenkins.txt); \
(cd requirements && pip install -U pycrypto); \
$(PYTHON) fix_virtualenv_setuptools.py; \
else \
(cd requirements && sudo pip install --no-index -r jenkins.txt); \
(cd requirements && sudo pip install --no-index -U pycrypto); \
fi
npm install -g csslint jshint
# "Install" ansible-tower package in development mode. Creates link to working
# copy in site-packages and installs awx-manage command.
develop: