python-terraform-1 Make option with bool value/ more sense for the caller

try tox on travis
This commit is contained in:
Freddy Tan 2016-11-24 15:20:35 +08:00
parent 4d1943438c
commit 2c80d617f3
2 changed files with 9 additions and 6 deletions

View file

@ -17,14 +17,12 @@ before_script:
install:
- "curl https://bootstrap.pypa.io/ez_setup.py -o - | python"
- "pip install pytest"
- "pip install tox-travis"
- "pip install ."
# command to run tests
script:
- "export PATH=$PATH:$PWD/tf_bin"
- cd test
- py.test
- cd ..
- tox
deploy:
# test pypi

View file

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