forked from ycm-core/ycmd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (49 loc) · 1.22 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
language: csharp
os:
- linux
- osx
sudo: false
mono:
- beta
before_install:
- git submodule update --init --recursive
install:
# source because it sets up env vars on some platforms
- source travis/travis_install.sh
compiler:
- gcc
script: ./run_tests.py --with-coverage --cover-package=ycmd
after_success:
- if [ x"${COVERAGE}" = x"true" ]; then coveralls; fi
env:
global:
- MONO_THREADS_PER_CPU=2000
- MONO_MANAGED_WATCHER=disabled
# Travis can run out of RAM when compiling if we don't prevent parallelization.
- 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
matrix:
exclude:
- os: osx
env: USE_CLANG_COMPLETER=true YCMD_PYTHON_VERSION=2.7 COVERAGE=true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
packages:
- g++-4.8
- python2.6
- python2.6-dev
- python2.7
- python2.7-dev
- python-virtualenv
cache:
directories:
- $HOME/.cache/pip
- $HOME/.dnx/packages