9
9
fastimport.clone = (git clone git://jelmer.uk/python-fastimport.git ../fastimport.git)
10
10
fastimport.install = (cd ../fastimport.git && ./setup.py install --user)
11
11
fastimport.install3 = (cd ../fastimport.git && python3 ./setup.py install --user)
12
sphinx_epytext.install = (pip install sphinx_epytext)
13
sphinx_epytext.install3 = (pip3 install sphinx_epytext)
14
flake8.install = (pip install flake8)
15
flake8.install3 = (pip3 install flake8)
14
18
# FIXME: we're stuck on xenial
22
26
# FIXME: Arguably this should be vm.build_deps=brz but it requires either an
23
27
# available package or at least a debian/ dir ? -- vila 2018-02-23
24
brz.build_deps = gcc, debhelper, python, python-all-dev, python3-all-dev, python-configobj, python3-configobj, python-docutils, python3-docutils, python-paramiko, python3-paramiko, python-subunit, python3-subunit, python-testtools, python3-testtools, subunit, cython, cython3, python-flake8, python3-flake8, python-sphinx, python3-sphinx
28
brz.build_deps = gcc, debhelper, python, python-all-dev, python3-all-dev, python-configobj, python3-configobj, python-docutils, python3-docutils, python-paramiko, python3-paramiko, python-subunit, python3-subunit, python-testtools, python3-testtools, subunit, cython, cython3, python-pip, python3-pip, python-setuptools, python3-setuptools, python-flake8, python3-flake8, python-sphinx, python3-sphinx
25
29
subunit.build_deps = python-testscenarios, python3-testscenarios, python-testtools, python3-testtools
26
30
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python-junitxml
28
32
vm.release = xenial
29
byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {dulwich.install3} && {fastimport.clone} && {fastimport.install} && {fastimport.install3} && {subunit.clone})
33
byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {dulwich.install3} && {fastimport.clone} && {fastimport.install} && {fastimport.install3} && {subunit.clone} && {flake8.install} && {flake8.install3} && {sphinx_epytext.install} && {sphinx_epytext.install3})
30
34
# FIXME: bzr log -l2 should be by default -- vila 2018-03-09
31
35
byoci.tests.command = bash -o pipefail -c "bzr log -l2 && PYTHONPATH=../subunit/python:$PYTHONPATH PATH=../subunit/filters:$PATH make check-ci | subunit2junitxml -o ../results.xml -f | subunit2pyunit"