Deployment of containerised OpenStack to bare metal using kolla and bifrost
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 835B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ---
  2. language: python
  3. python: "2.7"
  4. # Run jobs in VMs - sudo is required by ansible tests.
  5. sudo: required
  6. # Install ansible
  7. addons:
  8. apt:
  9. packages:
  10. - gcc
  11. - python-apt
  12. - python-virtualenv
  13. - realpath
  14. # Create a build matrix for the different test jobs.
  15. env:
  16. matrix:
  17. # Run python style checks.
  18. - TOX_ENV=pep8
  19. # Build documentation.
  20. - TOX_ENV=docs
  21. # Run python2.7 unit tests.
  22. - TOX_ENV=py27
  23. # Run ansible syntax checks.
  24. - TOX_ENV=ansible-syntax
  25. # Run ansible tests.
  26. - TOX_ENV=ansible
  27. # Run molecule tests.
  28. - TOX_ENV=molecule
  29. install:
  30. # Install tox in a virtualenv to ensure we have an up to date version.
  31. - virtualenv venv
  32. - venv/bin/pip install -U pip
  33. - venv/bin/pip install tox
  34. script:
  35. # Run the tox environment.
  36. - venv/bin/tox -e ${TOX_ENV}