Travis-CI defaults to Ubuntu/precise, which has a very old version of
pyflakes that throws false positives.
+warn() {
+ echo WARNING: "$@"
+}
+
cmd_exists() {
command -v $1 1>/dev/null
}
cmd_exists() {
command -v $1 1>/dev/null
}
elif cmd_exists pyflakes; then
PYFLAKES=pyflakes
else
elif cmd_exists pyflakes; then
PYFLAKES=pyflakes
else
- err "pyflakes is not installed!"
+ PYFLAKES=echo
+ warn "pyflakes is not installed, using dummy placeholder!"
fi
if cmd_exists pep8-python2; then
fi
if cmd_exists pep8-python2; then