From ed6aa75d635ca2dc95c02aa30aa24339854f6567 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 22 Oct 2015 08:52:21 -0700 Subject: [PATCH] Add parsing test to travis to catch that invocation is missing --- .travis.yml | 2 +- .../integration/roles/test_good_parsing/tasks/main.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 25ffe5ae7c..1ff0ca118d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,6 @@ script: - 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 #- 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: - coveralls diff --git a/test/integration/roles/test_good_parsing/tasks/main.yml b/test/integration/roles/test_good_parsing/tasks/main.yml index 03afb99295..2297442b73 100644 --- a/test/integration/roles/test_good_parsing/tasks/main.yml +++ b/test/integration/roles/test_good_parsing/tasks/main.yml @@ -161,11 +161,11 @@ # #- debug: var=result -#- name: assert the task with variable module name ran -# assert: -# that: -# - result.invocation.module_name == "debug" -# - result.msg == "this should be debugged" +- name: assert the task with variable module name ran + assert: + that: + - result.invocation.module_name == "debug" + - result.msg == "this should be debugged" - name: test conditional includes include: test_include_conditional.yml