Alec Nikolas Reiter 6 лет назад
Родитель
Сommit
5765ba9eff
3 измененных файлов с 17 добавлено и 9 удалено
  1. 11 6
      .travis.yml
  2. 5 2
      setup.py
  3. 1 1
      tox.ini

+ 11 - 6
.travis.yml

@@ -1,10 +1,15 @@
 language: python
-sudo: false
-python:
-- '2.7'
-- '3.4'
-- '3.5'
-- '3.6'
+matrix:
+  include:
+    - python: 2.7
+    - python: 3.4
+    - python: 3.5
+    - python: 3.6
+    # see the following issue on why 3.7 is weirdo
+    # https://github.com/travis-ci/travis-ci/issues/9815
+    - python: 3.7
+      dist: xenial
+      sudo: true
 install:
 - pip install -r requirements-travis.txt
 script:

+ 5 - 2
setup.py

@@ -133,8 +133,11 @@ setup(
         "Intended Audience :: End Users/Desktop",
         "License :: OSI Approved :: BSD License",
         "Operating System :: OS Independent",
-        "Programming Language :: Python",
-        "Programming Language :: Python :: 3",
+        "Programming Language :: Python :: 2.7",
+        "Programming Language :: Python :: 3.4",
+        "Programming Language :: Python :: 3.5",
+        "Programming Language :: Python :: 3.6",
+        "Programming Language :: Python :: 3.7",
         "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
         "Topic :: Software Development :: Libraries :: Python Modules",
     ],

+ 1 - 1
tox.ini

@@ -1,5 +1,5 @@
 [tox]
-envlist = py27,py34,py35,py36,cov-report,cov-store
+envlist = py27,py34,py35,py36,py37,cov-report,cov-store
 
 [testenv]
 use_develop = true