2015-11-08 15:21:30 -05:00
|
|
|
language: generic
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
sudo: false
|
2014-05-15 22:03:29 -04:00
|
|
|
before_install:
|
|
|
|
- git submodule update --init --recursive
|
2013-04-27 01:13:25 -04:00
|
|
|
install:
|
2015-11-08 15:21:30 -05:00
|
|
|
# source because it sets up env vars on some platforms
|
|
|
|
- source travis/travis_install.sh
|
2015-04-25 16:35:44 -04:00
|
|
|
script: ./run_tests.py
|
2015-11-08 15:21:30 -05:00
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- YCMD_PYTHON_VERSION=2.7
|
|
|
|
- YCMD_PYTHON_VERSION=2.6
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- deadsnakes
|
|
|
|
packages:
|
|
|
|
- python2.6
|
|
|
|
- python2.6-dev
|
|
|
|
- python2.7
|
|
|
|
- python2.7-dev
|
|
|
|
- python-virtualenv
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|