Added travis file
This commit is contained in:
parent
b880ad2956
commit
288081f17c
14
.travis.yml
Normal file
14
.travis.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
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
|
||||
- echo "[defaults]" > ansible.cfg
|
||||
- echo "roles_path = ../" >> ansible.cfg
|
||||
- ansible-playbook -i inventory --syntax-check msmtp.yml
|
||||
- ansible-playbook -i inventory --connection=local --sudo -vvvv msmtp.yml
|
Loading…
Reference in a new issue