From 13d181cd09760958808651f2a6ea2e7b8c81a43d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20H=C3=B6nig?= Date: Mon, 27 Nov 2017 16:27:37 +0100 Subject: [PATCH] Remove Python 2.7 testing for zulip_bots and zulip_botserver. --- .travis.yml | 3 ++- tools/test-py2-legacy-support | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 tools/test-py2-legacy-support diff --git a/.travis.yml b/.travis.yml index d75502d..018fdce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,13 @@ language: python python: - - "2.7" - "3.4" - "3.5" - "3.6" env: TEST_SUITE=test-main matrix: include: + - python: "2.7" + env: TEST_SUITE=test-py2-legacy-support - python: "3.6" env: TEST_SUITE=test-static-analysis install: diff --git a/tools/test-py2-legacy-support b/tools/test-py2-legacy-support new file mode 100755 index 0000000..eb43fe2 --- /dev/null +++ b/tools/test-py2-legacy-support @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# This script must be executed in a Python 2 environment to +# have any meaning. + +set -ev + +tools/test-zulip --coverage combine