new: test: python3.6 on travis (#170)

* new: test: python3.6 on travis

* chg: dev: change deploy python version

* chg: dev: change skip message
This commit is contained in:
rachmadani haryono 2017-07-13 00:53:38 +08:00 committed by Arun Prakash Jana
parent e4cfb4b0f8
commit d91ce68aba
3 changed files with 6 additions and 3 deletions

View File

@ -3,6 +3,7 @@ python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"
before_install:
- "pip install --upgrade setuptools"
- "pip install --upgrade pip"
@ -28,4 +29,4 @@ deploy:
repo: jarun/Buku
tags: true
# Upload from only one job (doesn't matter which one because we're packaging the same thing throughout the matrix)
python: "3.5"
python: "3.6"

View File

@ -10,7 +10,8 @@ import pytest
from buku import is_int, parse_tags
only_python_3_5 = pytest.mark.skipif(sys.version_info < (3, 5), reason="requires python3.5")
only_python_3_5 = pytest.mark.skipif(
sys.version_info < (3, 5), reason="requires Python 3.5 or later")
@pytest.mark.parametrize(

View File

@ -40,7 +40,8 @@ TEST_BOOKMARKS = [
"a case for replace_tag test"],
]
only_python_3_5 = pytest.mark.skipif(sys.version_info < (3, 5), reason="requires python3.5")
only_python_3_5 = pytest.mark.skipif(
sys.version_info < (3, 5), reason="requires Python 3.5 or later")
@pytest.fixture()