Skip to content

Commit

Permalink
Bump minimal Ansible version to 1.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Jan 25, 2017
1 parent e8ceec6 commit a4711bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 36 deletions.
41 changes: 6 additions & 35 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ dist: trusty
language: python
python: "2.7"

services:
- mysql

env:
- ANSIBLE_VERSION=latest
- ANSIBLE_VERSION=2.2.1.0
- ANSIBLE_VERSION=2.2.0.0
- ANSIBLE_VERSION=2.1.4
- ANSIBLE_VERSION=2.1.3
- ANSIBLE_VERSION=2.1.2
- ANSIBLE_VERSION=2.1.1.0
Expand All @@ -21,42 +20,11 @@ env:
- ANSIBLE_VERSION=2.0.0.1
- ANSIBLE_VERSION=2.0.0.0
- ANSIBLE_VERSION=1.9.6
- ANSIBLE_VERSION=1.9.5
- ANSIBLE_VERSION=1.9.4
- ANSIBLE_VERSION=1.9.3
- ANSIBLE_VERSION=1.9.2
- ANSIBLE_VERSION=1.9.1
- ANSIBLE_VERSION=1.9.0.1
- ANSIBLE_VERSION=1.8.4
- ANSIBLE_VERSION=1.8.3
- ANSIBLE_VERSION=1.8.2
- ANSIBLE_VERSION=1.8.1
- ANSIBLE_VERSION=1.8
- ANSIBLE_VERSION=1.7.2
- ANSIBLE_VERSION=1.7.1
- ANSIBLE_VERSION=1.7
- ANSIBLE_VERSION=1.6.9
- ANSIBLE_VERSION=1.6.8
- ANSIBLE_VERSION=1.6.7
- ANSIBLE_VERSION=1.6.6
- ANSIBLE_VERSION=1.6.5
- ANSIBLE_VERSION=1.6.4
- ANSIBLE_VERSION=1.6.3
- ANSIBLE_VERSION=1.6.2
- ANSIBLE_VERSION=1.6.10
- ANSIBLE_VERSION=1.6.1
- ANSIBLE_VERSION=1.6

branches:
only:
- master

matrix:
allow_failures:
# See https://github.com/ansible/ansible/issues/8233
- env: ANSIBLE_VERSION=1.6.8
- env: ANSIBLE_VERSION=1.6.7

before_install:
- sudo apt-get update -qq

Expand All @@ -81,7 +49,8 @@ before_install:

install:
# Install Ansible.
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install --no-binary ansible ansible; else pip install --no-binary ansible ansible==$ANSIBLE_VERSION; fi
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible-lint; fi

script:
# Check the role/playbook's syntax.
Expand All @@ -104,6 +73,8 @@ script:
&& (echo 'Availability test: pass' && exit 0)
|| (echo 'Availability test: fail' && exit 1)
- if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml || true; fi

notifications:
email: false
hipchat:
Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ galaxy_info:
company: Oefenweb.nl B.V.
description: Set up (multiple) wordpress installations in Debian-like systems (using wp-cli)
license: MIT
min_ansible_version: 1.6
min_ansible_version: 1.9.6
platforms:
- name: Ubuntu
versions:
Expand Down

0 comments on commit a4711bc

Please sign in to comment.