mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Add requirements/jenkins.txt
Moves custom test requirements out of jenkins and into the repository.
This commit is contained in:
parent
9119b40966
commit
8a247ae2c4
13
Makefile
13
Makefile
@ -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:
|
||||
|
||||
11
requirements/jenkins.txt
Normal file
11
requirements/jenkins.txt
Normal file
@ -0,0 +1,11 @@
|
||||
# PIP requirements for running Tower unittests in jenkins.
|
||||
# Install using "pip --no-index -r jenkins.txt".
|
||||
|
||||
python-ldap
|
||||
ansible
|
||||
coverage
|
||||
pyzmq
|
||||
python-memcached
|
||||
pyflakes
|
||||
pep8
|
||||
pylint
|
||||
Loading…
x
Reference in New Issue
Block a user