/breezy-hg/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy-hg/trunk

« back to all changes in this revision

Viewing changes to byov.conf

  • Committer: Jelmer Vernooij
  • Date: 2018-11-04 15:33:17 UTC
  • Revision ID: jelmer@jelmer.uk-20181104153317-1nd9i0rrno1lzt8t
Add byov.conf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Use lxd containers by default
 
2
vm.class = lxd
 
3
# Start with an up to date system by default
 
4
vm.update = True
 
5
# External sources dependencies, packages are not recent enough
 
6
dulwich.clone = (git clone git://jelmer.uk/dulwich ../dulwich.git)
 
7
dulwich.install = (cd ../dulwich.git && ./setup.py install --user)
 
8
dulwich3.install = (cd ../dulwich.git && python3 ./setup.py install --user)
 
9
 
 
10
[brz-plugin-hg-py2]
 
11
vm.release = xenial
 
12
brz.build_deps = gcc, 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-fastimport, python-dulwich
 
13
hg.build_deps = mercurial
 
14
vm.packages = {brz.build_deps}, {hg.build_deps}, {hg.test_deps}, bzr, python-junitxml
 
15
brz.branch = (bzr branch lp:brz ../brz-trunk)
 
16
brz.make = (cd ../brz-trunk && make)
 
17
byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {brz.branch} && {brz.make})
 
18
byoci.tests.command = bash -o pipefail -c "bzr log -l2 && (BRZ_PLUGINS_AT=hg@`pwd` BRZ_PLUGIN_PATH=-site:-user python2 ../brz-trunk/brz selftest -v  --parallel=fork --subunit2 | subunit2junitxml -o ../results.xml -f | subunit2pyunit)"
 
19
# Mercurial doesn't support Python 3 yet
 
20
#[brz-plugin-hg-py3]
 
21
#byoci.setup.command = ({dulwich.clone} && {dulwich3.install} && {brz.branch} && {brz.make})
 
22
#byoci.tests.command = bash -o pipefail -c "bzr log -l2 && (BRZ_PLUGINS_AT=hg@`pwd` BRZ_PLUGIN_PATH=-site:-user python3 ../brz-trunk/brz selftest -v  --parallel=fork --subunit2 | subunit2junitxml -o ../results.xml -f | subunit2pyunit)"