Skip to content

Commit 8dc352e

Browse files
author
Tobias Richter
committed
Use ansible-lint 4.2.x for Ansible 2.7 tests
1 parent 335649d commit 8dc352e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ env:
66
# run against latest version
77
- ANSIBLE_VERSION=latest
88
# run against minimal required version
9-
- ANSIBLE_VERSION=2.7.*
9+
- ANSIBLE_VERSION=2.7.* ANSIBLE_LINT_VERSION=4.2.*
1010

1111
# Use the new container infrastructure
1212
sudo: false
@@ -19,7 +19,7 @@ addons:
1919

2020
install:
2121
# Install ansible and dependencies
22-
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible ansible-lint --upgrade; else pip install ansible=="$ANSIBLE_VERSION" ansible-lint --upgrade; fi
22+
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible ansible-lint --upgrade; else pip install ansible=="$ANSIBLE_VERSION" ansible-lint=="$ANSIBLE_LINT_VERSION" --upgrade; fi
2323

2424
# Check ansible version
2525
- ansible --version

0 commit comments

Comments
 (0)