1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-29 11:16:43 +00:00
Commit graph

43 commits

Author SHA1 Message Date
Thomas Waldmann
a5c6a50ebe increase Python minimum requirement to 3.5.0
also:
- drop testing on 3.4
- add some TODO for the docs and vagrant machines
2017-07-29 20:55:04 +02:00
Thomas Waldmann
fed5873e29 remove attic dependency of the tests, fixes #2505
attic.tar.gz contains a repo + corresponding keyfile - all the
upgrader module tests need.

.tar.gz because the .tar was 20x bigger.
2017-06-06 04:26:48 +02:00
Thomas Waldmann
740312f725 Merge branch '1.0-maint' into merge-1.0-maint
# Conflicts:
#	requirements.d/development.txt
#	tox.ini
2017-01-15 01:15:04 +01:00
Thomas Waldmann
0e1f050440 pytest -n 4 as default (4 parallel workers)
auto does not produce enough load, e.g. on freebsd64 vagrant VM,
cpu is 80-90% idle (1 core == 1 parallel tox worker).
2017-01-15 00:18:00 +01:00
Thomas Waldmann
0a15530f9a pytest-xdist: adjust parallelism, fixes #2053
it's either auto or env var XDISTN value.
2017-01-14 23:10:12 +01:00
Marian Beermann
ecad0ed53a Merge branch '1.0-maint' into merge/1.0-maint
# Conflicts: ... everywhere ...
#	.travis.yml
#	Vagrantfile
#	borg/testsuite/key.py
#	docs/changes.rst
#	docs/quickstart.rst
#	docs/usage.rst
#	docs/usage/upgrade.rst.inc
#	src/borg/archive.py
#	src/borg/archiver.py
#	src/borg/crypto.pyx
#	src/borg/helpers.py
#	src/borg/key.py
#	src/borg/remote.py
#	src/borg/repository.py
#	src/borg/testsuite/archive.py
#	src/borg/testsuite/archiver.py
#	src/borg/testsuite/crypto.py
#	src/borg/testsuite/helpers.py
#	src/borg/testsuite/repository.py
#	src/borg/upgrader.py
#	tox.ini
2017-01-12 15:01:41 +01:00
Thomas Waldmann
853cfb703b parallelizing tests via pytest-xdist 2017-01-06 05:48:50 +01:00
Thomas Waldmann
9533493047 tox / travis: also test on Python 3.6 2017-01-04 00:57:35 +01:00
Marian Beermann
c380d91805 fixes for flake 3.1.1 2016-11-14 21:50:20 +01:00
Thomas Waldmann
ebe1143570 travis: test fuse-enabled borg 2016-08-22 00:14:08 +02:00
Thomas Waldmann
32bd29548b travis: test fuse-enabled borg 2016-08-21 22:07:59 +02:00
Marian Beermann
ac8c8119a7
Merge branch '1.0-maint' into master 2016-07-28 00:29:43 +02:00
Lee Bousfield
0a4a95eb17
Remove trailing whitespace 2016-07-27 10:05:51 -04:00
Thomas Waldmann
ed128e517b Merge branch '1.0-maint' 2016-06-25 17:18:14 +02:00
Thomas Waldmann
27c0d0f074 move attic test dependency into own file
so you can just empty that file to remove the attic-based tests
when testing in a OpenSSL 1.1 environment.
2016-06-21 20:06:36 +02:00
Thomas Waldmann
c15787852a tox.ini: remove changedir 2016-05-30 22:10:03 +02:00
Thomas Waldmann
045e5a1203 Merge branch 'master' into move-to-src 2016-05-30 19:38:16 +02:00
Thomas Waldmann
d27a3521ec test on py36 2016-05-21 19:24:18 +02:00
Thomas Waldmann
76839362e2 fix packaging/git/coverage for src/ path 2016-05-05 21:42:37 +02:00
Thomas Waldmann
2a2362fc2f add flake8 style checking 2016-01-30 22:01:27 +01:00
Thomas Waldmann
7d591226d2 remove support for python 3.2.x and 3.3.x, require 3.4+, fixes #65, fixes #221 2016-01-24 14:57:48 +01:00
Thomas Waldmann
d7b6cc3527 fix .coverragerc path
as the cwd is in toxworkdir, .coveragerc is in ../
2015-11-01 22:36:18 +01:00
Thomas Waldmann
894546c3fe skip the benchmarks by default, especially on travis 2015-10-19 11:47:24 +02:00
Antoine Beaupré
57801a288d keep tests simple by always adding attic depends
note that we do not depend on attic to build borg, just to do those
tests. if attic goes away, we could eventually do this another way or
just stop testing this altogether.
2015-10-01 09:03:41 -04:00
Antoine Beaupré
c990829225 add attic dependency for build as a separate factor
this way we don't depend on attic for regular build, but we can still see proper test coverage
2015-10-01 00:51:19 -04:00
Thomas Waldmann
f138d06dd5 more platform support, works on py 3.5
xattrs and ACLs on OpenBSD and NetBSD need development or adaptation of
the platform-specific code.
2015-09-16 11:44:53 +02:00
Thomas Waldmann
5864bd76eb fix test coverage / codecov.io, use xcode6.4 2015-08-08 18:31:41 +02:00
Thomas Waldmann
d65ca51d54 deduplicate and refactor the docs
README.rst (shown on github and also at the start of the html docs) shall
be like an elevator speech - convince readers in a very short time.
this is most important, everything else can come after we got the reader's interest.

include README into docs to avoid duplication.
also include CHANGES into docs.
add developer docs, move examples from tox.ini there
add separate support docs
remove glossary, most of what was there can be understood by an admin from context
move attic and compatibility note to the end
2015-08-06 12:59:51 +02:00
Roberto Polli
0b226aec7a add development.txt and modify tox.ini 2015-07-25 15:39:42 +02:00
Thomas Waldmann
43bc1d5b6a improved tox configuration, documented there how to invoke it
the usage of some py.test features in the previous locking changesets somehow broke the test environment.

it seems to help to point py.test to some specific package or module (and not just invoke "py.test" without arguments).
2015-07-13 18:45:49 +02:00
Thomas Waldmann
414dba3de7 remove usage of evil / broken unittest.mock, use mock from pypi
see testsuite.mock docstring for more details.

one test shows brokenness right now that was hidden / silent until now.
2015-07-12 23:08:44 +02:00
Thomas Waldmann
906ea629f6 use py.test for testing, document it
locally (via tox) and also on travis ci.
2015-05-22 21:26:41 +02:00
Thomas Waldmann
b5b1af2195 tox >= 2.0 needs passenv in tox.ini, so that fakeroot can work
tox 2.x does not inherit environment vars by default.
2015-05-22 19:30:56 +02:00
Thomas Waldmann
5e98400a5a fix all references to package name
use relative imports if possible
reorder imports (1. stdlib 2. dependencies 3. borg 4. borg.testsuite)
2015-05-22 19:21:41 +02:00
Jonas Borgström
db0381e6f2 Add python 3.4 to the tox environment list 2014-05-03 14:21:10 +02:00
Jonas Borgström
8101017c1f tox: Make sure mock is installed in the py32 env 2014-03-10 22:05:23 +01:00
Jonas Borgström
b718a443a8 Project rename 2013-07-09 20:14:18 +02:00
Jonas Borgström
701a940de7 Inline comments not supported in tox.ini 2013-07-05 12:36:49 +02:00
Jonas Borgström
bf4b13d9dc More xattr code cleanup 2013-06-27 22:10:15 +02:00
Jonas Borgström
00bdfa1a8e Add py3.2 compatible unhexlify to helpers.py 2013-06-26 22:00:23 +02:00
Jonas Borgström
06db9e897c Various sphinx related fixes 2013-06-25 12:39:22 +02:00
Jonas Borgström
9421b64895 Test case refactoring 2013-06-25 12:05:58 +02:00
Jonas Borgström
8a2f555c68 Packaging improvements 2013-06-24 13:53:02 +02:00