Merge pull request #2 from openstack-charmers/add-travis

Add travis ci
This commit is contained in:
David Ames
2018-03-22 15:57:49 -07:00
committed by GitHub
4 changed files with 13 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
sudo: false
language: python
dist: xenial
python:
- "3.6"
install: pip install tox-travis
script:
- tox -c tox.ini -e pep8
- tox -c tox.ini -e py36
+1 -1
View File
@@ -31,4 +31,4 @@ commands = flake8 {posargs} zaza unit_tests
commands = {posargs}
[flake8]
ignore = E402,E226
ignore = E402,E226
+2 -2
View File
@@ -22,8 +22,8 @@ async def deployed(filter=None):
def main():
# Run the deploy coroutine in an asyncio event loop, using a helper
# that abstracts loop creation and teardown.
print("Current applications: {}".format( ", ".join(loop.run(deployed()))))
print("Current applications: {}".format(", ".join(loop.run(deployed()))))
if __name__ == '__main__':
main()
main()
+1 -2
View File
@@ -1,5 +1,4 @@
import argparse
import zaza
def parser(args=None):
@@ -19,4 +18,4 @@ def main():
if __name__ == '__main__':
main()
main()