Skip to content

Commit 04318dd

Browse files
committed
travis: run tests on 3.6 and 3.7
1 parent 4e2653c commit 04318dd

1 file changed

Lines changed: 17 additions & 7 deletions

File tree

.travis.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,30 @@
11
sudo: false
22
language: python
3-
python:
4-
- 2.7
5-
- 3.4
6-
- 3.5
3+
4+
matrix:
5+
include:
6+
- python: 2.7
7+
- python: 3.6
8+
- python: 3.7
9+
# required to run python3.7 on Travis CI
10+
# https://github.com/travis-ci/travis-ci/issues/9815
11+
dist: xenial
12+
sudo: true
13+
714
install:
815
- pip install --upgrade pip setuptools wheel
916
- pip install tox-travis
1017
# Travis by default only clones a 'shallow' repository with --depth=50.
1118
# When building the distribution packages, we use git to determine the
1219
# package version string (via setuptools_scm), hence we need to fetch
1320
# the whole repo, and not just the last 50 commits.
14-
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then git fetch --unshallow; fi
21+
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then git fetch --unshallow; fi
22+
1523
script: tox
24+
1625
before_deploy:
1726
- python setup.py sdist bdist_wheel
27+
1828
deploy:
1929
# deploy to Github Releases on tags
2030
- provider: releases
@@ -27,15 +37,15 @@ deploy:
2737
repo: typemytype/booleanOperations
2838
tags: true
2939
all_branches: true
30-
python: 3.5
40+
python: 3.6
3141
# deploy to PyPI on tags
3242
- provider: pypi
3343
server: https://upload.pypi.org/legacy/
3444
on:
3545
repo: typemytype/booleanOperations
3646
tags: true
3747
all_branches: true
38-
python: 3.5
48+
python: 3.6
3949
user: anthrotype
4050
password:
4151
secure: B6rFOTA8ol1kt210q7USDVOzLFWUyMIwdZuaUdejYmUb0CXK6W8kKj0H01yBCgjkhtew9YEQSB62jFiGUOJH9L8JjpJO2RG8cHIIblXQfQ5DXogmcEtsAFotQz0o3UO/SYJaMY917XsPCqw3MTgksd2NWwO7H3YCjaWntN4zZxyTWowGr2Vhbj9s8e+MGMtrZ3Is91AcoXNI7HPj2oVhAtPP5GGpceIP7JlOGdHGUFJKuwJLRKVjEURWXN6ZOQNoxuG6KdkpGtJYCFgRCW65e48WpQs8lts/ByyOMyRItPIPI+K/cPOaIvZ7IUhu9SueBgKcW2YVzQrPzD07N5Lhb4LaKhqgMwpy7oWntnpO0/Xes7bonAoDYKPz7O3O3zl57fy1sVhGXZZNoGUfwyFz1PPecONavRpDQYCMEOq8BcENT86mf0xbAvtmTvBgos8NknmZ35ckUkyrye8t058CwW0yhEO2Pr36XPKoEP9EAiq2YRvINPYnI1T3jTPUUwnc3IAv4zQvPUKWqs2/hEVy8FTCz/0hBgDv2cs4pRcofTzfXSczGMfyuNS3i4n3CHc4FEOYP9MuEWGDC7KF4MVNsBWbh5pkISwhIwNbW1UDept2k+Dmb9XrSoCt5aSvEPJVT3YTA4qTGSUQvhzj1SvXi3s2lh+1WbibEJqNfpdobGg=

0 commit comments

Comments
 (0)