add python 3.6

This commit is contained in:
beelit94 2017-05-12 01:28:52 +08:00
parent 32a9bc78e8
commit 800e6657f2
2 changed files with 5 additions and 3 deletions

View file

@ -2,9 +2,10 @@ language: python
python: python:
- '2.7' - '2.7'
- '3.5' - '3.5'
- '3.6'
before_install: sudo apt-get install unzip before_install: sudo apt-get install unzip
before_script: before_script:
- export TFVER=0.8.1 - export TFVER=0.9.5
- export TFURL=https://releases.hashicorp.com/terraform/ - export TFURL=https://releases.hashicorp.com/terraform/
- TFURL+=$TFVER - TFURL+=$TFVER
- TFURL+="/terraform_" - TFURL+="/terraform_"

View file

@ -1,6 +1,6 @@
# content of: tox.ini , put in same dir as setup.py # content of: tox.ini , put in same dir as setup.py
[tox] [tox]
envlist = py27, py35 envlist = py27, py35, py36
[testenv] [testenv]
deps=pytest deps=pytest
commands=py.test test commands=py.test test
@ -8,4 +8,5 @@ commands=py.test test
[travis] [travis]
python = python =
2.7: py27 2.7: py27
3.5: py35 3.5: py35
3.6: py36