2
# Start with an up to date system by default
4
# External sources dependencies, packages are not recent enough
5
dulwich.clone = (git clone git://jelmer.uk/dulwich ../dulwich.git)
6
dulwich.install = (cd ../dulwich.git && python3 ./setup.py install --user)
7
subunit.clone = (git clone https://github.com/testing-cabal/subunit.git ../subunit)
8
fastimport.clone = (git clone git://jelmer.uk/python-fastimport.git ../fastimport.git)
9
fastimport.install = (cd ../fastimport.git && python3 ./setup.py install --user)
10
sphinx_epytext.install = (pip3 install sphinx_epytext)
11
flake8.install = (pip3 install flake8)
12
patiencediff.install = (pip3 install patiencediff)
13
cython.install = (pip3 install cython)
16
# FIXME: we're stuck on xenial
17
# because paramiko 2.0.0 is broken:
18
# breezy.tests.test_transport.TestSSHConnections.test_bzr_connect_to_bzr_ssh
19
# runs into a deprecation issue which is only fixed in 2.3.0 which is
20
# available nowhere in ubuntu/debian /o\
21
# https://github.com/paramiko/paramiko/issues/1030
22
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882322 -- vila 2018-05-16
24
# FIXME: Arguably this should be vm.build_deps=brz but it requires either an
25
# available package or at least a debian/ dir ? -- vila 2018-02-23
26
brz.build_deps = gcc, debhelper, python3, python3-all-dev, python3-configobj, python3-docutils, python3-paramiko, python3-subunit, python3-testtools, subunit, python3-pip, python3-setuptools, python3-flake8, python3-sphinx, python3-launchpadlib, python3-pyinotify
27
subunit.build_deps = python3-testscenarios, python3-testtools, cython, cython3, quilt
28
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python-junitxml
31
byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {fastimport.clone} && {fastimport.install} && {subunit.clone} && {flake8.install} && {patiencediff.install} && {sphinx_epytext.install} && {cython.install})
32
# FIXME: bzr log -l2 should be by default -- vila 2018-03-09
33
byoci.tests.command = bash -o pipefail -c "bzr log -l2 && PYTHONPATH=../subunit/python:$PYTHONPATH PATH=../subunit/filters:$HOME/.local/bin:$PATH make check-ci | subunit2junitxml -o ../results.xml -f | subunit2pyunit"
40
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python3-dulwich, python-junitxml
41
byoci.setup.command = ({subunit.clone} && {sphinx_epytext.install} )
42
byoci.tests.command = bash -o pipefail -c "bzr log -l2 && (PYTHONPATH=../subunit/python:$PYTHONPATH PATH=../subunit/filters:$HOME/.local/bin:$PATH make check-ci | subunit2junitxml -o ../results.xml -f | subunit2pyunit)"
45
lxd.image = ubuntu-daily:{vm.release}/{vm.architecture}
47
vm.distribution = debian
49
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python3-dulwich, python-junitxml
50
byoci.setup.command = ({subunit.clone} && {sphinx_epytext.install} )
51
byoci.tests.command = bash -o pipefail -c "bzr log -l2 && (PYTHONPATH=../subunit/python:$PYTHONPATH PATH=../subunit/filters:$HOME/.local/bin:$PATH make check-ci | subunit2junitxml -o ../results.xml -f | subunit2pyunit)"
53
vm.distribution = debian