Commit Graph

39 Commits

Author SHA1 Message Date
pamaron 8be6afd9e1
Enable Python3.9 env for test suite and VMs (#5373)
for now, skip fuse for py39 -- llfuse does not support py39 yet

use brew update >/dev/null so travis does not complain about too much output
2020-10-04 15:38:05 +02:00
Thomas Waldmann 1a8f5d27ab drop python 3.5, fixes #5344
py35 is EOL.
2020-09-25 02:13:43 +02:00
finefoot 60d976ede8 Comments, explanations and improvements for Travis CI builds 2020-04-01 20:12:26 +02:00
Thomas Waldmann eb326cbac0 travis: macOS: test on py35 and py37, linux: test on py37
macOS: to cover some rather old and some rather new python
(not 3.8 though, but 3.8.0 is tested on linux).

linux: to test on 3.7 releases also. stop testing 3.6-dev.
2019-11-26 18:53:09 +01:00
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 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 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
Thomas Waldmann b625a4c8c5 travis: install fakeroot for Linux
they removed it from the preinstalled sw stack.
2017-06-22 20:13:39 +02: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 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 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 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