aboutsummaryrefslogblamecommitdiffhomepage
path: root/.travis.yml
blob: c4244115312284330f1aa2f05b2857c50d6db893 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                      
                                        

                         
                                                                  


                           
                                                               

                                                


                                                            
---
language: python
python: "3.5"

# Use the new container infrastructure
sudo: false

# Install pip
addons:
  apt:
    packages:
    - python-pip

install:
  # Install ansible
  - pip install ansible docker-py docker
  # Check ansible version
  - ansible --version
  - ansible-galaxy install -r test/requirements.yml -p test/roles/

script:
  # Basic role syntax check
  - ansible-playbook test/main.yml -i test/hosts --syntax-check
  # Run the tests
  - ansible-playbook test/main.yml -i test/hosts

notifications:
  webhooks: https://galaxy.ansible.com/api/v1/notifications/