1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Arky
16cf3fd136 IIAB Travis CI Testing Implementation #386
This pull request is complete implementation of IIAB Travis CI Testing for synatx errors, code linting and code review. 

Adds: Top level .travis.yml file. Add 'tests' directory with a 'inventory' and 'tests.yml' files. 

Modifies:  roles/moodle/tasks/main.yml to fix ansible-lint parsing problem. 

Modifies: README.md to add Build status button 
This is Git squash of many commits. Please look at individual commit message for the content changes. 

Creating an initial travis testing based on Jeff geerlings testing ansible methodology

https://www.jeffgeerling.com/blog/testing-ansible-roles-travis-ci-github
Adding Ansible-lint, Ansible-review tests to travis


Aded ansible-review for full repo and diff master


Removing ansible-lint install step, it automatically installed by ansible-review

Ansible-review only .yml files in root and  roles, vars, tests folders

Updated comments

Corrected ansible-lint parameters

Removed extranous tab that breaks ansible-lint

Removed a tab character that causes problems with ansible-lint 

See https://github.com/willthames/ansible-lint/issues/166
Fixing Travis Ansible Syntax tests roles path

The ansible roles path had problems due: 
1. Absense of top level global role 'iiab' 
2. Hardcoded paths '/etc/iiab' in ansible.cfg 

Fixing them in a hacky way. :(
Adding Travis Build status to Readme file
2017-10-10 13:12:34 +07:00