language: python
python: "2.7"
sudo: false
cache: pip
install:
  - pip install ansible
script:
  - ansible-playbook --syntax-check -i hosts/development site.yml

language: python
os: linux

cache: pip

install:
  - curl -Os https://raw.githubusercontent.com/Seravo/gnitpick/master/gnitpick.py
  - pip install ansible

script:
  # Abort immediately if one step fails
  # https://github.com/travis-ci/travis-ci/issues/1066#issuecomment-32415710
  - set -e

  # Run our custom Git commit checks
  - python3 ./gnitpick.py

  - ansible-playbook --syntax-check -i hosts/development site.yml

Check commit messages with Gnitpick and minor Travis-CI syntax fixes
Check commit messages with Gnitpick and minor Travis-CI syntax fixes
