Browse Source

Running nosetests after install.sh

ycm_core.so needs to be built for the tests to run. The python code imports
ycm_core, so it needs to be present.
Strahinja Val Markovic 11 năm trước cách đây
mục cha
commit
10d038dbcd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -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"