Permalink
Fetching contributors…
Cannot retrieve contributors at this time
72 lines (64 sloc) 1.68 KB
language: generic
sudo: false
git:
depth: 10
matrix:
include:
- os: linux
env:
- VIM_VERSION=v7.4
- THEMIS_PROFILE=vim-profile-v7.4.txt
- os: linux
env:
- VIM_VERSION=v8.0.0000
- THEMIS_PROFILE=vim-profile-v8.0.txt
- os: linux
env:
- VIM_VERSION=master
- THEMIS_PROFILE=vim-profile-master.txt
- os: osx
osx_image: xcode8.3
env:
- THEMIS_PROFILE=vim-profile-osx.txt
- os: linux
env:
- RUN_LINT=true
addons:
apt:
packages:
- language-pack-ja
- vim
- python-dev
- python3-dev
- python3-pip
install:
- rvm reset
- bash scripts/install-vim.sh
- export PATH=$HOME/vim/bin:$PATH
# Install https://github.com/Vimjas/covimerage
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then brew install python3 ; fi
- pip3 install --user --upgrade pip
- pip3 install --user --upgrade setuptools
- pip3 install --user covimerage
before_script:
- git clone --depth 1 --branch v1.5.4 --single-branch https://github.com/thinca/vim-themis /tmp/vim-themis
- git clone --depth 1 https://github.com/Shougo/vimproc.vim /tmp/vimproc
- (cd /tmp/vimproc && make)
script:
- uname -a
- which -a vim
- vim --cmd version --cmd quit
- |
if [[ "${RUN_LINT}" != "true" ]]; then
/tmp/vim-themis/bin/themis --runtimepath /tmp/vimproc --exclude ConcurrentProcess --reporter dot
fi
- if [[ "${RUN_LINT}" == "true" ]] ; then bash scripts/run-lint-on-ci.sh ; fi
after_success:
- bash scripts/coverage.sh
notifications:
webhooks:
urls:
- http://travis-ci.herokuapp.com/vim
on_success: never
on_failure: always
on_start: never