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:
|
install:
|
||||||
- "curl https://bootstrap.pypa.io/ez_setup.py -o - | python"
|
- "curl https://bootstrap.pypa.io/ez_setup.py -o - | python"
|
||||||
- "pip install pytest"
|
- "pip install tox-travis"
|
||||||
- "pip install ."
|
- "pip install ."
|
||||||
# command to run tests
|
# command to run tests
|
||||||
script:
|
script:
|
||||||
- "export PATH=$PATH:$PWD/tf_bin"
|
- "export PATH=$PATH:$PWD/tf_bin"
|
||||||
- cd test
|
- tox
|
||||||
- py.test
|
|
||||||
- cd ..
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
# test pypi
|
# test pypi
|
||||||
|
|
7
tox.ini
7
tox.ini
|
@ -1,6 +1,11 @@
|
||||||
# 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, py3
|
envlist = py27, py35
|
||||||
[testenv]
|
[testenv]
|
||||||
deps=pytest
|
deps=pytest
|
||||||
commands=py.test test
|
commands=py.test test
|
||||||
|
|
||||||
|
[travis]
|
||||||
|
python =
|
||||||
|
2.7: py27
|
||||||
|
3.5: py35
|
Loading…
Reference in a new issue