diff options
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 861e1407d..c2bfdb2e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,8 @@ sudo: false language: cpp +python: + - "2.7" + matrix: include: @@ -33,6 +36,13 @@ before_install: - export CC="${CC}-${COMPILER_VERSION}" - export CXX="${CXX}-${COMPILER_VERSION}" +install: + - pip install --user flake8 + +before_script: + # Check the style of a subset of Python code until the other code is updated. + - flake8 update.py + script: - cmake . -DCMAKE_C_FLAGS="$COMPILER_FLAGS" -DCMAKE_CXX_FLAGS="$COMPILER_FLAGS" - make -j2 |