Skip to content

Commit f9dfa1e

Browse files
committed
Add python 3.4 and 3.3 versions support
1 parent 777c136 commit f9dfa1e

File tree

3 files changed

+71
-13
lines changed

3 files changed

+71
-13
lines changed

.travis.yml

Lines changed: 58 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,63 @@
11
language: python
2-
python:
3-
- '2.7'
4-
- '3.5'
5-
- '3.6'
6-
- '3.7'
7-
- '3.8'
82
cache: pip
9-
install:
10-
- pip install flake8
11-
script:
12-
- flake8 --count
13-
- python setup.py bdist_wheel
3+
jobs:
4+
include:
5+
- name: "Python 3.8"
6+
dist: xenial
7+
python: '3.8'
8+
install:
9+
- pip install -r requirements.txt
10+
script:
11+
- flake8 --count
12+
- python setup.py bdist_wheel
13+
- name: "Python 3.7"
14+
dist: xenial
15+
python: '3.7'
16+
install:
17+
- pip install -r requirements.txt
18+
script:
19+
- flake8 --count
20+
- python setup.py bdist_wheel
21+
- name: "Python 3.6"
22+
dist: xenial
23+
python: '3.6'
24+
install:
25+
- pip install -r requirements.txt
26+
script:
27+
- flake8 --count
28+
- python setup.py bdist_wheel
29+
- name: "Python 3.5"
30+
dist: xenial
31+
python: '3.5'
32+
install:
33+
- pip install -r requirements.txt
34+
- flake8 --count
35+
script:
36+
- python setup.py bdist_wheel
37+
- name: "Python 3.4"
38+
dist: trusty
39+
python: '3.4'
40+
install:
41+
- pip install -I -r requirements.txt
42+
script:
43+
- flake8 --count --ignore=F401 .
44+
- python setup.py bdist_wheel
45+
- name: "Python 3.3"
46+
dist: trusty
47+
python: '3.3'
48+
install:
49+
- pip install -I -r requirements.txt
50+
script:
51+
- flake8 --count --ignore=F401 .
52+
- python setup.py bdist_wheel
53+
- name: "Python 2.7"
54+
dist: xenial
55+
python: '2.7'
56+
install:
57+
- pip install -r requirements.txt
58+
script:
59+
- flake8 --count
60+
- python setup.py bdist_wheel
1461
before_deploy: python setup.py sdist
1562
deploy:
1663
- provider: pypi

requirements.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
1-
setuptools
2-
typing;python_version<"3.5"
1+
flake8>=3.8;python_version>="3.5"
2+
setuptools>=49.6;python_version>="3.5"
3+
flake8>=2.6,<3.0;python_version=='3.4'
4+
flake8>=2.6,<3.0;python_version=='3.3'
5+
setuptools==39.2 ;python_version=='3.4'
6+
setuptools==39.2 ;python_version=='3.3'
7+
typing>=3.6,<3.7;python_version=='3.4'
8+
typing>=3.6,<3.7;python_version=='3.3'
9+
flake8>=3.8;python_version<'3'
10+
setuptools>=44.1;python_version<"3"
11+
typing>=3.7;python_version<"3"

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
"Programming Language :: Python :: 2",
2525
"Programming Language :: Python :: 2.7",
2626
"Programming Language :: Python :: 3",
27+
"Programming Language :: Python :: 3.3",
28+
"Programming Language :: Python :: 3.4",
2729
"Programming Language :: Python :: 3.5",
2830
"Programming Language :: Python :: 3.6",
2931
"Programming Language :: Python :: 3.7",

0 commit comments

Comments
 (0)