提交 25ee29d2 编写于 作者: L Lucas Meneghel Rodrigues

Reorganize requirements.txt and Travis CI job

Document requirements.txt, split it into 3 files:

 * requirements.txt - Used to install deps for functionality
 * tests-requirements.txt - Used to install deps to test avocado
 * travis-requirements.txt - Used exclusively for Travis CI jobs

Also, clean up and simplify Travis install job section.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 6bb1f730
...@@ -9,18 +9,16 @@ branches: ...@@ -9,18 +9,16 @@ branches:
virtualenv: virtualenv:
system_site_packages: true system_site_packages: true
before_script: before_install:
- sudo apt-get update - sudo apt-get -y --force-yes install python-libvirt python-lzma python-yaml
- sudo apt-get -y --force-yes install python-libvirt build-essential python-yaml python-lzma
install: install:
- pip install sphinx tox pylint autopep8 flexmock - pip install -r requirements-travis.txt
- pip install inspektor
- pip install -r requirements.txt
script: script:
- inspekt lint - inspekt lint
- inspekt indent
- inspekt style - inspekt style
- ./selftests/run -v selftests/all/doc - ./selftests/run selftests/all/doc
- ./selftests/run -v selftests/all/functional - ./selftests/run selftests/all/functional
- ./selftests/run -v selftests/all/unit - ./selftests/run selftests/all/unit
# Avocado test requirements
# nose (selftests)
nose>=1.3.0
# sphinx (doc build test)
Sphinx>=1.3b1
# flexmock (some unittests use it)
flexmock>=0.9.7
# inspektor (static and style checks)
inspektor>=0.1.12
# All pip installable requirements pinned for Travis CI
fabric==1.10.0
nose==1.3.4
pystache==0.5.4
Sphinx==1.3b1
flexmock==0.9.7
inspektor==0.1.12
coverage==3.6 # Avocado functional requirements
nose==1.3.0 # SSH lib (avocado.utils.remote)
nosexcover==1.0.8 fabric>=1.7.0
tox==1.5.0 # multiplexer (avocado.core.tree)
virtualenv==1.9.1 PyYAML>=3.11
mysql-python==1.2.3 # vm plugin (avocado.plugins.vm)
requests==1.2.3 libvirt-python>=1.2.9
fabric==1.7.0 # .tar.xz support (avocado.utils.archive)
pyliblzma==0.5.3 pyliblzma>=0.5.3
pystache>0.5.0 # HTML report plugin (avocado.plugins.htmlresult)
pystache>=0.5.3
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册