2015-11-08 20:21:30 +00:00
|
|
|
language: generic
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
sudo: false
|
2014-05-15 19:03:29 -07:00
|
|
|
before_install:
|
|
|
|
- git submodule update --init --recursive
|
2013-04-26 22:13:25 -07:00
|
|
|
install:
|
2015-11-08 20:21:30 +00:00
|
|
|
# source because it sets up env vars on some platforms
|
|
|
|
- source travis/travis_install.sh
|
2015-04-25 22:35:44 +02:00
|
|
|
script: ./run_tests.py
|
2015-11-08 20:21:30 +00: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
|