Also test on Python 3.6

This commit is contained in:
2017-03-03 12:23:45 +01:00
parent b4eee59417
commit efe694381f
2 changed files with 11 additions and 8 deletions

View File

@@ -1,15 +1,18 @@
language: python
# Python 3.5 specified to make tox environment 'py35' work.
# Python versions specified to make tox environment 'py35' and 'py36' work.
# See: https://github.com/travis-ci/travis-ci/issues/4794
python:
- 3.5
# Environment changes have to be manually synced with 'tox.ini'.
# See: https://github.com/travis-ci/travis-ci/issues/3024
env:
- TOXENV=py27
- TOXENV=py35
matrix:
include:
- python: '2.7'
env: TOXENV=py27
- python: '3.5'
env: TOXENV=py35
- python: '3.6'
env: TOXENV=py36
install:
- pip install -r requirements.txt

View File

@@ -1,6 +1,6 @@
[tox]
# Environment changes have to be manually synced with '.travis.yml'.
envlist = py27,py35
envlist = py27,py35,py36
[pytest]
;addopts = -v --cov pillarsdk --cov-report term-missing