Skip to content

Commit

Permalink
Pruning the size of the Travis test matrix
Browse files Browse the repository at this point in the history
We used to have 9 (5 Linux, 4 Mac) rows in our test matrix; these
changes should bring it down to 6 (3 Linux, 3 Mac).

First, we cut out clang on/off for Python 2.7. There's already
two rows for clang on/off on Python 2.6, and testing the same thing
on/off setup with 2.7 seems wasteful. We now just test 2.7 with clang
on. This is two rows down (Linux & Mac each).

Another row killed is Linux-clang-py2.7, because we also have
Linux-clang-py2.7-coverage. That one runs all the tests and also runs
coverage, so contains the row we're killing.

All together, this should speed up our Travis runs.
  • Loading branch information
Valloric committed Feb 2, 2016
1 parent e4ba41a commit adeabf5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,17 @@ env:
- YCM_CORES=1
matrix:
- USE_CLANG_COMPLETER=true YCMD_PYTHON_VERSION=2.7
- USE_CLANG_COMPLETER=false YCMD_PYTHON_VERSION=2.7
- USE_CLANG_COMPLETER=true YCMD_PYTHON_VERSION=2.6
- USE_CLANG_COMPLETER=false YCMD_PYTHON_VERSION=2.6
- USE_CLANG_COMPLETER=true YCMD_PYTHON_VERSION=2.7 COVERAGE=true
- USE_CLANG_COMPLETER=false YCMD_PYTHON_VERSION=2.6
- USE_CLANG_COMPLETER=true YCMD_PYTHON_VERSION=2.6
matrix:
exclude:
# We don't run coverage on mac and we don't run the non-coverage version of
# the same run on linux.
- os: osx
env: USE_CLANG_COMPLETER=true YCMD_PYTHON_VERSION=2.7 COVERAGE=true
- os: linux
env: USE_CLANG_COMPLETER=true YCMD_PYTHON_VERSION=2.7
addons:
apt:
sources:
Expand Down

0 comments on commit adeabf5

Please sign in to comment.