10d038dbcd
ycm_core.so needs to be built for the tests to run. The python code imports ycm_core, so it needs to be present.
14 lines
356 B
YAML
14 lines
356 B
YAML
language: python
|
|
python:
|
|
- "2.6"
|
|
- "2.7"
|
|
install:
|
|
- pip install -r python/test_requirements.txt --use-mirrors
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
script: flake8 --exclude=jedi --select=F,C9 --max-complexity=10 python && ./install.sh && nosetests python
|
|
env:
|
|
- YCM_TESTRUN=1 EXTRA_CMAKE_ARGS=""
|
|
- YCM_TESTRUN=1 EXTRA_CMAKE_ARGS="-DUSE_CLANG_COMPLETER=ON"
|