summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2015-09-15 07:58:52 -0700
committerToshio Kuratomi <toshio@fedoraproject.org>2015-09-16 20:40:17 -0700
commit3db8070aa36db3ecd927b1f2cfe8ff680f7a105d (patch)
tree8fd5ce12f4639f1e8139e39693767f57d596cd5b /.travis.yml
parente97d448838d759759df723962cad43ba297cacf8 (diff)
downloadansible-3db8070aa36db3ecd927b1f2cfe8ff680f7a105d.tar.gz
Fix urlopen usage to use open_url instead
Add a travis test for urlopen usage
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 2a191a5041..6fb5198dc9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,6 +14,8 @@ addons:
install:
- pip install tox PyYAML Jinja2 sphinx
script:
+# urllib2's defaults are not secure enough for us
+- ./test/code-smell/replace-urlopen.sh .
- if test x"$TOKENV" != x'py24' ; then tox ; fi
- if test x"$TOKENV" = 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