python-terraform-1 Make option with bool value/ more sense for the caller
try tox on travis
This commit is contained in:
parent
4d1943438c
commit
2c80d617f3
2 changed files with 9 additions and 6 deletions
|
@ -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
|
||||
|
|
7
tox.ini
7
tox.ini
|
@ -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
|
||||
|
||||
[travis]
|
||||
python =
|
||||
2.7: py27
|
||||
3.5: py35
|
Loading…
Reference in a new issue