Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2cdced3

Browse files
committed
Test against Python 3.5
1 parent e5445f6 commit 2cdced3

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

.travis.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
sudo: false
22
language: python
33
python:
4-
- "2.6"
5-
- "2.7"
6-
- "3.3"
7-
- "3.4"
8-
9-
before_install:
10-
- cp uap-core/regexes.yaml ua_parser/regexes.yaml
4+
- "3.5"
5+
6+
env:
7+
- TOX_ENV=py26
8+
- TOX_ENV=py27
9+
- TOX_ENV=py31
10+
- TOX_ENV=py32
11+
- TOX_ENV=py34
12+
- TOX_ENV=py35
13+
- TOX_ENV=pypy
14+
- TOX_ENV=docs
15+
- TOX_ENV=pep8
16+
- TOX_ENV=py3pep8
1117

1218
install:
13-
- pip install pyyaml
14-
- pip install -e .
19+
- pip install tox
1520

1621
script:
17-
- python ua_parser/user_agent_parser_test.py
22+
- tox -e $TOX_ENV

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
[tox]
2-
envlist = py26,py27,pypy,py31,py32,py33,py34,docs,pep8,py3pep8
2+
envlist = py26, py27, pypy, py31, py32, py33, py34, py35, docs, pep8, py3pep8
33

44
[testenv]
55
deps =
66
pyyaml
77
commands =
8-
python ua_parser/user_agent_parser_test.py
9-
8+
python ua_parser/user_agent_parser_test.py

0 commit comments

Comments
 (0)