From 6bbe2aa0b5b02eaaf36fb710eff4d867493022de Mon Sep 17 00:00:00 2001 From: NyanKiyoshi Date: Sun, 16 Sep 2018 16:20:31 +0200 Subject: [PATCH] Add python 2.7, 3.3, 3.4 to the test matrix --- .travis.yml | 11 ++++------- setup.py | 6 +++++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 099515e..f47a67b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,9 @@ cache: - node_modules sudo: false python: + - "2.7" + - "3.3" + - "3.4" - "3.5" - "3.6" - "pypy3" @@ -30,14 +33,8 @@ matrix: - python: "pypy3" - python: "nightly" fast_finish: true -before_script: # code coverage tool - - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - - chmod +x ./cc-test-reporter - - ./cc-test-reporter before-build script: - - pipenv install + - pipenv install -D - pytest --cov --cov-report= -after_script: - - if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_PYTHON_VERSION" == "3.7" ]]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi after_success: - codecov diff --git a/setup.py b/setup.py index 8760d2a..bdf4d66 100755 --- a/setup.py +++ b/setup.py @@ -40,10 +40,14 @@ 'Operating System :: POSIX :: BSD :: NetBSD', 'Operating System :: POSIX :: BSD :: OpenBSD', 'Operating System :: POSIX :: Other', - 'Programming Language :: Python :: 3 :: Only', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.3', 'Framework :: Flask', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',