ansible-msmtp-mailer/.travis.yml.old
2018-05-07 16:29:25 +08:00

14 lines
374 B
YAML

---
language: python
python: "2.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-apt python-pycurl
install:
- pip install ansible
script:
- echo localhost > inventory
- export ANSIBLE_ROLES_PATH="../"
- ansible-playbook -i inventory --syntax-check mstmp.yml
- ansible-playbook -i inventory --connection=local --sudo -vvvv mstmp.yml