ansible-role-apache/.travis.yml
2014-04-22 08:54:04 -05:00

15 lines
385 B
YAML

---
language: python
python: "2.7"
env:
- SITE=test.yml
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y curl
install:
- pip install ansible==1.5.0
script:
- ansible-playbook -i tests/inventory tests/$SITE --syntax-check
- ansible-playbook -i tests/inventory tests/$SITE --connection=local --sudo
- bash tests/idempotence.sh
- curl http://localhost/