diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-01-13 18:05:52 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-01-13 18:05:52 -0800 |
commit | 77c55b36cf5cc4b72d62e24b69ca7de61b671328 (patch) | |
tree | 876d5f164a631b0df4b9066b33987871a4990f33 | |
parent | 1466e072717f6516eae1885296ace1d7acb38f2f (diff) | |
parent | 3c6a18dae8e1efc115c3ddaf663ee0fbdeea4536 (diff) | |
download | binaryen-77c55b36cf5cc4b72d62e24b69ca7de61b671328.tar.gz binaryen-77c55b36cf5cc4b72d62e24b69ca7de61b671328.tar.bz2 binaryen-77c55b36cf5cc4b72d62e24b69ca7de61b671328.zip |
Merge pull request #101 from WebAssembly/jfbastien-patch-1
Travis: check style of update.py
-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 |