Merge pull request #1996 from ThomasWaldmann/py36

tox / travis: also test on Python 3.6
This commit is contained in:
enkore 2017-01-05 13:22:56 +01:00 committed by GitHub
commit e61de12d6e
4 changed files with 12 additions and 2 deletions

View file

@ -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
View file

@ -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

View file

@ -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',
],

View file

@ -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