Commit Graph

45 Commits

Author SHA1 Message Date
Thomas Waldmann
8fb72365fa travis: use py367 on macOS to get a python build with openssl1.1 2019-04-19 20:46:37 +02:00
Thomas Waldmann
f669d42443 travis: use openssl 1.1 for borg, use python 3.5.3 for 1.1 compat
pyenv recently gained the ability to use (and actually prefer) openssl
1.1 on mac OS.

we need to use python 3.5.3, older is not compatible with openssl 1.1.
with python 3.5.2, python was built without ssl support.

also, we need to set the right PKG_CONFIG_PATH, so borg also uses 1.1.
2019-04-07 02:03:31 +02:00
Thomas Waldmann
2fd0cff4e3 remove already commented cflags / ldflags 2019-03-14 00:18:03 +01:00
Thomas Waldmann
f828e883bd travis: install script improvements 2019-03-13 18:29:50 +01:00
Thomas Waldmann
5173b9f407 add pkg-config support, fixes #1925
1. BORG_*_PREFIX is checked (avoids lib detection via pkg-config).
2. pkg-config is tried
3. fallback to bundled C code (or failure in case of OpenSSL)

also:
- simplified code again
- removed (c) headers, nothing left of original code
2019-03-13 18:26:47 +01:00
Thomas Waldmann
235c2994ec fix the homebrew 1.9 issues on travis-ci, fixes #4254
https://github.com/Homebrew/brew/pull/5517/files
2019-01-24 21:29:54 +01:00
Thomas Waldmann
2be5446098 Revert "drop support for python 3.5, fixes #3919"
This reverts commit 55314f807e.
2018-12-11 00:53:43 +01:00
Thomas Waldmann
562cce1dee stop using fakeroot on travis, avoids #2482
on osx, we already ran the tests w/o fakeroot, directly as root.
do the same for linux.
2018-11-16 23:15:04 +01:00
Thomas Waldmann
55314f807e drop support for python 3.5, fixes #3919
if you do not have python 3.6.x, you can still use borg 1.1.x or 1.0.x.

another option is to use the fat binary from github releases, which
includes python 3.6 and all other stuff needed.
2018-06-30 21:02:19 +02:00
Thomas Waldmann
e6316727db Revert "travis osx: run brew update first, fixes #3527"
This reverts commit e4828078bb.
2018-02-08 22:50:33 +01:00
Thomas Waldmann
e4828078bb travis osx: run brew update first, fixes #3527
suggested as work around on the travis issue about this ruby version
issue (wanted: 2.3, having: 2.0).
2018-01-10 17:36:25 +01:00
Thomas Waldmann
6049a07b74 don't brew update, hopefully fixes #2532 2017-10-12 03:37:48 +02:00
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
rugk
c5c361be0c Fix bashism in shell scripts (#2820)
Fix bashism in shell scripts, also fixes #2816

This makes the scripts fully POSIX-compatible.
Used shellcheck to check.
2017-07-20 00:23:59 +02:00
Thomas Waldmann
b625a4c8c5 travis: install fakeroot for Linux
they removed it from the preinstalled sw stack.
2017-06-22 20:13:39 +02:00
enkore
b06ceb6547 Revert "Start fakeroot faked in debug mode - fixes EISDIR issues" 2017-06-03 22:02:52 +02:00
Lee Bousfield
3e24ed4035 Start fakeroot faked in debug mode 2017-05-04 00:18:17 -06:00
Ronny Pfannschmidt
132f0006d3 enhance travis setuptools_scm situation
* add setuptools_scm to the development requirements
* print the own version at install time
* unshallow the repo and fetch all tags
2017-04-01 18:25:45 +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
94e35fc52b travis: use latest pythons for OS X based testing
we test on old pythons (3.x.0) on Linux, so we can test on 3.x.latest on OS X.
2017-01-15 00:23:09 +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
e119042f4c travis: install py36 on OS X 2017-01-06 07:12:29 +01:00
Thomas Waldmann
370cb1f19a travis: fix osxfuse install 2017-01-06 07:12:29 +01:00
Thomas Waldmann
6290e70c80 partially remove virtualenv/pip version requirement, fixes #1738
Is needed only for python 3.2 support.

For normal development, we expect you have py34+ for borg 1.1.

For vagrant, it is still needed because of older VMs like wheezy (py32).

Not needed for Travis-CI any more, we moved to trusty VMs (py34) there.
2016-11-29 21:30:23 +01:00
Marian Beermann
0d2b76fa7d Merge branch '1.0-maint' into merge/1.0-maint 2016-11-13 15:58:42 +01:00
Thomas Waldmann
cd8dfda318 caskroom osxfuse-beta gone, it's osxfuse now (3.5.3) 2016-11-12 23:02:13 +01:00
Thomas Waldmann
85311f0116 fix .coverage processing 2016-08-22 01:15:03 +02:00
Thomas Waldmann
ebe1143570 travis: test fuse-enabled borg 2016-08-22 00:14:08 +02:00
Thomas Waldmann
2a41569fec use trusty for testing, to have a recent FUSE 2016-08-22 00:12:57 +02:00
Thomas Waldmann
32bd29548b travis: test fuse-enabled borg 2016-08-21 22:07:59 +02:00
Thomas Waldmann
7e80f6821d use trusty for testing, to have a recent FUSE 2016-08-21 22:07:59 +02:00
Thomas Waldmann
735d058a8d travis: use ubuntu trusty beta infrastructure (not: precise)
use python 3.5.2 on trusty travis-ci machines
their 3.5(.0) misses lzma support at the moment.
after this is fixed, we likely want to go back to 3.5(.0) to run the tests.
2016-07-06 19:18:09 +02:00
Thomas Waldmann
f44b4bb9b7 travis / OSX: add xz package for python lzma support 2016-05-03 19:57:44 +02: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
69c8edc4e3 require virtualenv<14.0 so we get a py32 compatible pip 2016-01-22 22:14:41 +01:00
Thomas Waldmann
9d0d37fab0 also test py35 on travis 2015-10-27 23:06:32 +01:00
Thomas Waldmann
08d96099f1 pytest-benchmark: use git master code, fixes py32 issues 2015-10-12 00:52:52 +02:00
Thomas Waldmann
07d9132f05 travis: use tox -r so it rebuilds the tox envs
it seems to keep .tox envs even if one removes stuff from requirements file.
if that stuff causes troubles, as here with pytest-benchmark, the troubles stay...
2015-10-11 17:41:25 +02:00
Thomas Waldmann
9dccc809a9 create a separate requirements file for travis - without pytest-benchmark
pytest-benchmark (and its dependency "statistics") needs py 3.3+.

we do not want to run benchmarks on travis anyway, but even its presence
makes trouble due to this, so we just remove it from there again.

as --benchmark-skip is also removed from tox configuration, this means benchmarks
are run by default when pytest-benchmark is installed.
2015-10-11 17:06:12 +02:00
Thomas Waldmann
034e3477bd travis: use requirements file 2015-08-21 01:10:34 +02:00
Thomas Waldmann
abe29583f2 install lz4 from brew 2015-08-10 01:21:27 +02:00
Thomas Waldmann
8af3aa3397 merged master 2015-08-09 23:51:46 +02:00
Thomas Waldmann
60e34968b0 codecov: fixes for env vars and osx 2015-08-08 20:46:58 +02:00
Thomas Waldmann
5864bd76eb fix test coverage / codecov.io, use xcode6.4 2015-08-08 18:31:41 +02:00
Thomas Waldmann
ba75356314 add OS X to travis 2015-08-08 01:44:12 +02:00