YouCompleteMe/.travis.yml
Ben Jackson 0639200153 Run tests on OS X
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
2015-11-08 22:07:45 +00:00

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