forked from ycm-core/ycmd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 1.02 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
language: python
python:
- "2.6"
- "2.7"
before_install:
- git submodule update --init --recursive
install:
- pip install -r test_requirements.txt --use-mirrors
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:ermshiperete/monodevelop
- sudo apt-get -qq update
- sudo apt-get -qq install monodevelop-current
- sudo apt-get -qq install g++-4.8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- MONO_PREFIX=/opt/monodevelop
- export DYLD_LIBRARY_FALLBACK_PATH=$MONO_PREFIX/lib:$DYLD_LIBRARY_FALLBACK_PATH
- export LD_LIBRARY_PATH=$MONO_PREFIX/lib:$LD_LIBRARY_PATH
- export C_INCLUDE_PATH=$MONO_PREFIX/include:$C_INCLUDE_PATH
- export PKG_CONFIG_PATH=$MONO_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
- export PATH=$MONO_PREFIX/bin:$PATH
# Travis can run out of RAM when compiling if don't prevent parallelization.
- export YCM_CORES=1
compiler:
- gcc
- clang
script: ./run_tests.sh
env:
- USE_CLANG_COMPLETER="true"
- USE_CLANG_COMPLETER="false"