1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add parsing test to travis to catch that invocation is missing

This commit is contained in:
Toshio Kuratomi 2015-10-22 08:52:21 -07:00
parent 6b6d03290a
commit ed6aa75d63
2 changed files with 6 additions and 6 deletions

View file

@ -27,6 +27,6 @@ script:
- if test x"$TOXENV" != x'py24' ; then tox ; fi - if test x"$TOXENV" != x'py24' ; then tox ; fi
- if test x"$TOXENV" = x'py24' ; then python2.4 -V && python2.4 -m compileall -fq -x 'module_utils/(a10|rax|openstack|ec2|gce).py' lib/ansible/module_utils ; fi - if test x"$TOXENV" = x'py24' ; then python2.4 -V && python2.4 -m compileall -fq -x 'module_utils/(a10|rax|openstack|ec2|gce).py' lib/ansible/module_utils ; fi
#- make -C docsite all #- make -C docsite all
- if test x"$INTEGRATION" = x'yes' ; then source ./hacking/env-setup && cd test/integration/ && make test_var_precedence && make unicode ; fi - if test x"$INTEGRATION" = x'yes' ; then source ./hacking/env-setup && cd test/integration/ && make parsing && make test_var_precedence && make unicode ; fi
after_success: after_success:
- coveralls - coveralls

View file

@ -161,11 +161,11 @@
# #
#- debug: var=result #- debug: var=result
#- name: assert the task with variable module name ran - name: assert the task with variable module name ran
# assert: assert:
# that: that:
# - result.invocation.module_name == "debug" - result.invocation.module_name == "debug"
# - result.msg == "this should be debugged" - result.msg == "this should be debugged"
- name: test conditional includes - name: test conditional includes
include: test_include_conditional.yml include: test_include_conditional.yml