diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..12f9abb223948c0cd93541036b2c7c9f8591b8f3 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: cpp +sudo: required + +before_install: + - sudo pip install pycodestyle + +script: + - curl -o cpplint.py https://raw.githubusercontent.com/google/styleguide/gh-pages/cpplint/cpplint.py && python cpplint.py --linelength=80 --counting=detailed $(find mace -name "*.h" -or -name "*.cc") && rm -f cpplint.py + - pycodestyle $(find -name "*.py")