ycm_core.so needs to be built for the tests to run. The python code imports ycm_core, so it needs to be present.
@@ -7,7 +7,7 @@ install:
compiler:
- gcc
- clang
-script: flake8 --exclude=jedi --select=F,C9 --max-complexity=10 python && nosetests python && ./install.sh
+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"