Skip to content

Commit 2ae0923

Browse files
committed
Add python 3.7 and nightly for testing; use 3.7 release for pylint and yapf
1 parent e3997c0 commit 2ae0923

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed

.travis.yml

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
language: python
2-
3-
python:
4-
- 2.6
5-
- 2.7
6-
- 3.3
7-
- 3.4
8-
- 3.5
9-
- 3.6
10-
- 3.7-dev
11-
- pypy
2+
matrix:
3+
include:
4+
- python: 2.7
5+
dist: trusty
6+
- python: 3.3
7+
dist: trusty
8+
- python: 3.4
9+
dist: trusty
10+
- python: 3.5
11+
dist: trusty
12+
- python: 3.6
13+
dist: trusty
14+
- python: 3.7
15+
dist: xenial
16+
- python: nightly
17+
dist: xenial
18+
- python: pypy
19+
dist: trusty
20+
allow_failures:
21+
- python: nightly
1222

1323
before_install:
1424
- git submodule update --init --recursive
@@ -21,7 +31,7 @@ before_install:
2131
- sudo ldconfig
2232
- cd ..
2333
- pip install coverage coveralls
24-
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then pip install pylint yapf; fi
34+
- if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then pip install pylint yapf; fi
2535
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
2636
- |
2737
if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then
@@ -36,8 +46,8 @@ install:
3646
script:
3747
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then export MM_FORCE_EXT_TESTS=1; fi
3848
- CFLAGS="-Werror -Wall -Wextra" coverage run --source maxminddb setup.py test
39-
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then pylint --rcfile .pylintrc maxminddb/*.py; fi
40-
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then ./.travis-yapf.sh; fi
49+
- if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then pylint --rcfile .pylintrc maxminddb/*.py; fi
50+
- if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then ./.travis-yapf.sh; fi
4151

4252
after_success:
4353
- coveralls

0 commit comments

Comments
 (0)