-
Notifications
You must be signed in to change notification settings - Fork 35
/
.travis.yml
52 lines (42 loc) · 951 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
os: osx
osx_image: xcode11.3
branches:
only:
- master
language: ruby
env:
HOMEBREW_NO_INSTALL_CLEANUP=1
HOMEBREW_NO_AUTO_UPDATE=1
PYTHON_VERSION=3.8.1
cache:
bundler: true
pip: true
directories:
- $HOME/.rvm
- $HOME/Library/Caches/Homebrew # https://stackoverflow.com/questions/39930171/cache-brew-builds-with-travis-ci
- /usr/local/Homebrew
- $HOME/.cache/pip
- $HOME/.cache/pyenv
rvm:
- '2.7.0'
before_install:
- gem install bundler
- gem install rubocop
- brew install macvim
install:
- |
which pyenv
whereis pyenv
eval "$(pyenv init -)"
pyenv install --skip-existing "$PYTHON_VERSION"
pyenv global "$PYTHON_VERSION"
pyenv shell "$PYTHON_VERSION"
pyenv local "$PYTHON_VERSION"
pyenv rehash
pip3 --version
pip3 install vim-vint
bundle install
script:
- vint -s --enable-neovim plugin/*.vim
- rubocop
- bundle exec rspec --format documentation