From 93df284d3cc116cf3991385c58649b7c4241aefa Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Mon, 5 Feb 2018 08:23:45 +0100 Subject: [PATCH] Make a maintenance release of vdirsyncer, fix #708 --- .gitignore | 1 + .travis.yml | 3 ++- scripts/make_travisconf.py | 2 +- tests/storage/__init__.py | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7538d58..951face 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ build env *.egg-info .cache +.pytest_cache .eggs .egg .xprocess diff --git a/.travis.yml b/.travis.yml index 202755b..09b4182 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,8 @@ "branches": { "only": [ "auto", - "master" + "master", + "/^.*-maintenance$/" ] }, "cache": "pip", diff --git a/scripts/make_travisconf.py b/scripts/make_travisconf.py index fe058cb..0f2043d 100644 --- a/scripts/make_travisconf.py +++ b/scripts/make_travisconf.py @@ -17,7 +17,7 @@ cfg['git'] = { } cfg['branches'] = { - 'only': ['auto', 'master'] + 'only': ['auto', 'master', '/^.*-maintenance$/'] } cfg['install'] = """ diff --git a/tests/storage/__init__.py b/tests/storage/__init__.py index a66c008..ecb8b36 100644 --- a/tests/storage/__init__.py +++ b/tests/storage/__init__.py @@ -299,7 +299,7 @@ class StorageTests(object): @given(value=st.one_of( st.none(), - printable_characters_strategy.filter(lambda x: x.strip() != x) + printable_characters_strategy )) def test_metadata_normalization(self, requires_metadata, s, value): x = s.get_meta('displayname')