Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Commit

Permalink
port changes from cloudalchemy repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Dec 5, 2018
1 parent d6da7c8 commit 78f9796
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
sudo: required
language: python
cache: pip
services:
- docker
env:
- ANSIBLE='ansible>=2.3.0,<2.4.0'
- ANSIBLE='ansible>=2.4.0,<2.5.0'
- ANSIBLE='ansible>=2.5.0,<2.6.0'
- ANSIBLE=2.5
- ANSIBLE=2.6
- ANSIBLE=2.7
install:
- pip install ${ANSIBLE} 'ansible-lint>=3.4.15' 'molecule>=2.13.0' docker git-semver 'testinfra>=1.7.0'
- pip install tox-travis git-semver
script:
- molecule test --all
- tox
deploy:
provider: script
skip_cleanup: true
Expand Down
6 changes: 6 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ansible-lint>=3.4.0
docker
jmespath
molecule>=2.15.0
pytest==3.9.3
testinfra>=1.7.0
20 changes: 20 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[tox]
minversion = 1.8
envlist = py{27}-ansible{25,26,27}
skipsdist = true

[travis:env]
ANSIBLE=
2.5: ansible25
2.6: ansible26
2.7: ansible27

[testenv]
passenv = *
deps =
-rtest-requirements.txt
ansible25: ansible<2.6
ansible26: ansible<2.7
ansible27: ansible<2.8
commands =
{posargs:molecule test --all --destroy always}

0 comments on commit 78f9796

Please sign in to comment.