Commit 7a1b1094 authored by Aalaesar's avatar Aalaesar
Browse files

Merge branch 'Travis-integration'

parent a3445382
......@@ -4,27 +4,23 @@ python: "2.7"
os: linux
dist: trusty
env:
- ansible_version="2.1.4.0"
- ansible_version="2.2.2.0"
- ansible_version="2.3.0.0"
- ansible_version="2.1.6.0"
- ansible_version="2.2.3.0"
- ansible_version="2.3.1.0"
sudo: required
# Install ansible
addons:
apt:
packages:
- python-pip
before_install:
- sudo apt-get install python-setuptools
- sudo easy_install pip
# Install ansible
- pip install -I "ansible==$ansible_version"
- sudo pip install -I "ansible==$ansible_version"
install:
# Check ansible version
- ansible --version
# Create ansible.cfg with correct roles_path
- printf '[defaults]\nroles_path=../' >ansible.cfg
......
......@@ -29,6 +29,7 @@
repo: "deb http://fr.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse"
state: present
update_cache: yes
ignore_errors: yes # fix for travis ci
- name: "[APACHE] - Install APCu from backports."
apt: "name={{ php_pkg_apcu }} state=latest default_release=trusty-backports"
when: ansible_distribution_release == "trusty"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment