.travis.yml 356 B

12345678910111213
  1. language: python
  2. python:
  3. - "2.6"
  4. - "2.7"
  5. install:
  6. - pip install -r python/test_requirements.txt --use-mirrors
  7. compiler:
  8. - gcc
  9. - clang
  10. script: flake8 --exclude=jedi --select=F,C9 --max-complexity=10 python && ./install.sh && nosetests python
  11. env:
  12. - YCM_TESTRUN=1 EXTRA_CMAKE_ARGS=""
  13. - YCM_TESTRUN=1 EXTRA_CMAKE_ARGS="-DUSE_CLANG_COMPLETER=ON"