0639200153
We import the scripts from ycmd with a couple of modifications: - don't set YCM_CORES=1 as we didn't before, and this makes the build a lot faster - don't install gcc-4.8 as we didn't before - install argparse as it is not available in python2.6
29 lines
518 B
YAML
29 lines
518 B
YAML
language: generic
|
|
os:
|
|
- linux
|
|
- osx
|
|
sudo: false
|
|
before_install:
|
|
- git submodule update --init --recursive
|
|
install:
|
|
# source because it sets up env vars on some platforms
|
|
- source travis/travis_install.sh
|
|
script: ./run_tests.py
|
|
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
|