aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/YouCompleteMe/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vim/bundle/YouCompleteMe/.travis.yml')
-rw-r--r--vim/bundle/YouCompleteMe/.travis.yml47
1 files changed, 47 insertions, 0 deletions
diff --git a/vim/bundle/YouCompleteMe/.travis.yml b/vim/bundle/YouCompleteMe/.travis.yml
new file mode 100644
index 0000000..34df1b2
--- /dev/null
+++ b/vim/bundle/YouCompleteMe/.travis.yml
@@ -0,0 +1,47 @@
+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 ci/travis/travis_install.sh
+script: ./run_tests.py
+env:
+ matrix:
+ - YCM_PYTHON_VERSION=2.7
+ - YCM_PYTHON_VERSION=2.6
+ - YCM_PYTHON_VERSION=3.3
+matrix:
+ exclude:
+ - os: osx
+ env: YCM_PYTHON_VERSION=2.6
+addons:
+ apt:
+ sources:
+ # The Travis apt source whitelist can be found here:
+ # https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
+ - ubuntu-toolchain-r-test # for new libstdc++
+ - george-edison55-precise-backports # for a more recent version of cmake (3.2.3)
+ packages:
+ - cmake-data
+ - cmake
+ - ninja-build
+ # Everything below is a Python build dep (though it depends on Python
+ # version). We need them because pyenv builds Python.
+ - libssl-dev
+ - zlib1g-dev
+ - libbz2-dev
+ - libreadline-dev
+ - libsqlite3-dev
+ - wget
+ - curl
+ - llvm
+ - libncurses5-dev
+ - libncursesw5-dev
+cache:
+ directories:
+ - $HOME/.cache/pip # Python packages from pip
+ - $HOME/.pyenv # pyenv