mirror of https://github.com/borgbackup/borg.git
Merge branch '1.0-maint' into merge-1.0-maint
# Conflicts: # requirements.d/development.txt # tox.ini
This commit is contained in:
commit
740312f725
|
@ -22,12 +22,12 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then
|
||||||
|
|
||||||
case "${TOXENV}" in
|
case "${TOXENV}" in
|
||||||
py34)
|
py34)
|
||||||
pyenv install 3.4.3
|
pyenv install 3.4.5
|
||||||
pyenv global 3.4.3
|
pyenv global 3.4.5
|
||||||
;;
|
;;
|
||||||
py35)
|
py35)
|
||||||
pyenv install 3.5.1
|
pyenv install 3.5.2
|
||||||
pyenv global 3.5.1
|
pyenv global 3.5.2
|
||||||
;;
|
;;
|
||||||
py36)
|
py36)
|
||||||
pyenv install 3.6.0
|
pyenv install 3.6.0
|
||||||
|
|
|
@ -7,4 +7,5 @@ recursive-exclude docs *.pyc
|
||||||
recursive-exclude docs *.pyo
|
recursive-exclude docs *.pyo
|
||||||
prune docs/_build
|
prune docs/_build
|
||||||
prune .travis
|
prune .travis
|
||||||
|
prune .github
|
||||||
exclude .coveragerc .gitattributes .gitignore .travis.yml Vagrantfile
|
exclude .coveragerc .gitattributes .gitignore .travis.yml Vagrantfile
|
||||||
|
|
|
@ -470,11 +470,13 @@ Vagrant.configure(2) do |config|
|
||||||
end
|
end
|
||||||
|
|
||||||
# BSD
|
# BSD
|
||||||
|
# note: the FreeBSD-10.3-STABLE box needs "vagrant up" twice to start.
|
||||||
config.vm.define "freebsd64" do |b|
|
config.vm.define "freebsd64" do |b|
|
||||||
b.vm.box = "geoffgarside/freebsd-10.2"
|
b.vm.box = "freebsd/FreeBSD-10.3-STABLE"
|
||||||
b.vm.provider :virtualbox do |v|
|
b.vm.provider :virtualbox do |v|
|
||||||
v.memory = 768
|
v.memory = 768
|
||||||
end
|
end
|
||||||
|
b.ssh.shell = "sh"
|
||||||
b.vm.provision "install system packages", :type => :shell, :inline => packages_freebsd
|
b.vm.provision "install system packages", :type => :shell, :inline => packages_freebsd
|
||||||
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("freebsd")
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("freebsd")
|
||||||
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("freebsd")
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("freebsd")
|
||||||
|
|
|
@ -234,9 +234,13 @@ Other changes:
|
||||||
|
|
||||||
- vagrant / travis / tox: add Python 3.6 based testing
|
- vagrant / travis / tox: add Python 3.6 based testing
|
||||||
- vagrant: fix openbsd repo, fixes #2042
|
- vagrant: fix openbsd repo, fixes #2042
|
||||||
|
- vagrant: fix the freebsd64 machine, #2037
|
||||||
- travis: fix osxfuse install (fixes OS X testing on Travis CI)
|
- travis: fix osxfuse install (fixes OS X testing on Travis CI)
|
||||||
- travis: require succeeding OS X tests, #2028
|
- travis: require succeeding OS X tests, #2028
|
||||||
|
- travis: use latest pythons for OS X based testing
|
||||||
- use pytest-xdist to parallelize testing
|
- use pytest-xdist to parallelize testing
|
||||||
|
- fix xattr test race condition, #2047
|
||||||
|
- setup.cfg: fix pytest deprecation warning, #2050
|
||||||
- docs:
|
- docs:
|
||||||
|
|
||||||
- language clarification - VM backup FAQ
|
- language clarification - VM backup FAQ
|
||||||
|
@ -246,6 +250,8 @@ Other changes:
|
||||||
- remote: include data hexdump in "unexpected RPC data" error message
|
- remote: include data hexdump in "unexpected RPC data" error message
|
||||||
- remote: log SSH command line at debug level
|
- remote: log SSH command line at debug level
|
||||||
- API_VERSION: use numberspaces, #2023
|
- API_VERSION: use numberspaces, #2023
|
||||||
|
- remove .github from pypi package, #2051
|
||||||
|
- add pip and setuptools to requirements file, #2030
|
||||||
|
|
||||||
|
|
||||||
Version 1.0.9 (2016-12-20)
|
Version 1.0.9 (2016-12-20)
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
setuptools
|
||||||
|
pip
|
||||||
virtualenv
|
virtualenv
|
||||||
tox
|
tox
|
||||||
pytest
|
pytest
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[pytest]
|
[tool:pytest]
|
||||||
python_files = testsuite/*.py
|
python_files = testsuite/*.py
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
|
|
@ -11,7 +11,7 @@ class XattrTestCase(BaseTestCase):
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.tmpfile = tempfile.NamedTemporaryFile()
|
self.tmpfile = tempfile.NamedTemporaryFile()
|
||||||
self.symlink = os.path.join(os.path.dirname(self.tmpfile.name), 'symlink')
|
self.symlink = self.tmpfile.name + '.symlink'
|
||||||
os.symlink(self.tmpfile.name, self.symlink)
|
os.symlink(self.tmpfile.name, self.symlink)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -9,7 +9,7 @@ deps =
|
||||||
-rrequirements.d/development.txt
|
-rrequirements.d/development.txt
|
||||||
-rrequirements.d/attic.txt
|
-rrequirements.d/attic.txt
|
||||||
-rrequirements.d/fuse.txt
|
-rrequirements.d/fuse.txt
|
||||||
commands = py.test -n 8 -rs --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
|
commands = py.test -n {env:XDISTN:4} -rs --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
|
||||||
# fakeroot -u needs some env vars:
|
# fakeroot -u needs some env vars:
|
||||||
passenv = *
|
passenv = *
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue