summaryrefslogtreecommitdiffstats
path: root/test/utils/shippable/code-smell.sh
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2016-12-06 22:18:40 +0100
committerMatt Clay <matt@mystile.com>2016-12-08 17:35:20 +0100
commit580401c02bd9af77d824c819bed6716eba8d14eb (patch)
tree04798eb35742d1ec0cb7bf3d6882d2618fe36d1f /test/utils/shippable/code-smell.sh
parentAdd missing znode module description. (diff)
downloadansible-580401c02bd9af77d824c819bed6716eba8d14eb.tar.xz
ansible-580401c02bd9af77d824c819bed6716eba8d14eb.zip
Remove legacy test code.
Diffstat (limited to 'test/utils/shippable/code-smell.sh')
-rwxr-xr-xtest/utils/shippable/code-smell.sh31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/utils/shippable/code-smell.sh b/test/utils/shippable/code-smell.sh
deleted file mode 100755
index da66564bd6..0000000000
--- a/test/utils/shippable/code-smell.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash -eux
-
-source_root=$(python -c "from os import path; print(path.abspath(path.join(path.dirname('$0'), '../../..')))")
-
-install_deps="${INSTALL_DEPS:-}"
-
-cd "${source_root}"
-
-if [ "${install_deps}" != "" ]; then
- apt-add-repository 'deb http://archive.ubuntu.com/ubuntu trusty-backports universe'
- apt-get update -qq
- apt-get install shellcheck
-
- pip install -r "${source_root}/test/utils/shippable/code-smell-requirements.txt" --upgrade
- pip list
-fi
-
-yamllint ./test
-
-test/sanity/code-smell/replace-urlopen.sh
-test/sanity/code-smell/use-compat-six.sh
-test/sanity/code-smell/boilerplate.sh
-test/sanity/code-smell/required-and-default-attributes.sh
-test/sanity/code-smell/shebang.sh
-test/sanity/code-smell/line-endings.sh
-test/sanity/code-smell/empty-init.sh
-test/sanity/code-smell/no-basestring.sh
-
-shellcheck \
- test/integration/targets/*/*.sh \
- test/utils/shippable/*.sh