mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-14 20:13:21 -04:00
Merge pull request #1996 from ThomasWaldmann/py36
tox / travis: also test on Python 3.6
This commit is contained in:
commit
e61de12d6e
4 changed files with 12 additions and 2 deletions
|
|
@ -16,6 +16,10 @@ matrix:
|
|||
os: linux
|
||||
dist: trusty
|
||||
env: TOXENV=py35
|
||||
- python: 3.6
|
||||
os: linux
|
||||
dist: trusty
|
||||
env: TOXENV=py36
|
||||
- python: 3.5
|
||||
os: linux
|
||||
dist: trusty
|
||||
|
|
@ -28,6 +32,10 @@ matrix:
|
|||
os: osx
|
||||
osx_image: xcode6.4
|
||||
env: TOXENV=py35
|
||||
- language: generic
|
||||
os: osx
|
||||
osx_image: xcode6.4
|
||||
env: TOXENV=py36
|
||||
allow_failures:
|
||||
- os: osx
|
||||
|
||||
|
|
|
|||
3
Vagrantfile
vendored
3
Vagrantfile
vendored
|
|
@ -223,6 +223,7 @@ def install_pythons(boxname)
|
|||
. ~/.bash_profile
|
||||
pyenv install 3.4.0 # tests
|
||||
pyenv install 3.5.0 # tests
|
||||
pyenv install 3.6.0 # tests
|
||||
pyenv install 3.5.2 # binary build, use latest 3.5.x release
|
||||
pyenv rehash
|
||||
EOF
|
||||
|
|
@ -315,7 +316,7 @@ def run_tests(boxname)
|
|||
. ../borg-env/bin/activate
|
||||
if which pyenv 2> /dev/null; then
|
||||
# for testing, use the earliest point releases of the supported python versions:
|
||||
pyenv global 3.4.0 3.5.0
|
||||
pyenv global 3.4.0 3.5.0 3.6.0
|
||||
fi
|
||||
# otherwise: just use the system python
|
||||
if which fakeroot 2> /dev/null; then
|
||||
|
|
|
|||
1
setup.py
1
setup.py
|
|
@ -292,6 +292,7 @@ setup(
|
|||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Topic :: Security :: Cryptography',
|
||||
'Topic :: System :: Archiving :: Backup',
|
||||
],
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -2,7 +2,7 @@
|
|||
# fakeroot -u tox --recreate
|
||||
|
||||
[tox]
|
||||
envlist = py{34,35},flake8
|
||||
envlist = py{34,35,36},flake8
|
||||
|
||||
[testenv]
|
||||
# Change dir to avoid import problem for cython code. The directory does
|
||||
|
|
|
|||
Loading…
Reference in a new issue