Skip to content

Commit

Permalink
Use ansible-lint 4.2.x for Ansible 2.7 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Richter committed Nov 25, 2020
1 parent 839d01a commit ee85d7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
# run against latest version
- ANSIBLE_VERSION=latest
# run against minimal required version
- ANSIBLE_VERSION=2.7.*
- ANSIBLE_VERSION=2.7.* ANSIBLE_LINT_VERSION=4.2.*

# Use the new container infrastructure
sudo: false
Expand All @@ -19,7 +19,7 @@ addons:

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

# Check ansible version
- ansible --version
Expand Down

0 comments on commit ee85d7d

Please sign in to comment.