YouCompleteMe/ci/travis/travis_script.sh
micbou eace44f7d5 Disable flake8 for Python 2.6 on Travis
Since version 3.0.0, flake8 does not support Python 2.6, 3.2 and 3.3
anymore. It is still working for our Python 3.3 runs on Travis but
not for the Python 2.6 one so we only disable it for this version.
2016-08-12 02:25:16 +02:00

8 lines
103 B
Bash
Executable File

#!/bin/bash
if [ "${YCM_FLAKE8}" = true ]; then
./run_tests.py
else
./run_tests.py --no-flake8
fi