-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
69 lines (69 loc) · 2.39 KB
/
.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
sudo: required
dist: focal
env:
DISPLAY=":99.0"
PARALLEL_SPLIT_TEST_PROCESSES=2
services:
- xvfb
rvm: 2.7.0
language: ruby
cache:
bundler: true
apt: true
pip: true
directories:
- $HOME/.rvm
- $HOME/.cache/pip
install:
- |
yes | gem update --system --force
gem install bundler
sudo add-apt-repository -y ppa:jonathonf/vim
sudo apt-get update
sudo apt-get -y install ansible ruby-dev
eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=stable bash)"
make setup-host setup-serializer DOCKER_RUN=
before_script:
- |
vim --version || true
ack --help || true
ag --help || true
grep --help || true
rg --help || true
pt --help || true
git grep -h || true
jobs:
include:
- name: 'Unit tests'
script:
- vim -Nu spec/support/viml/vader.vim -c 'Vader! spec/*.vader' >/dev/null
- nvim -Nu spec/support/viml/vader.vim -c 'Vader! spec/*.vader' >/dev/null
- bundle exec parallel_test -n 2 --type rspec spec/unit/
os: linux
- name: 'Acceptance tests of #backend#system patterns'
script: bundle exec parallel_split_test spec/plugin/backend/patterns_spec.rb --tag system --tag ~render:viml
os: linux
- name: 'Acceptance tests of #backend#system paths'
script: bundle exec parallel_split_test spec/plugin/backend/paths_spec.rb --tag system --tag ~render:viml
os: linux
- name: 'Acceptance tests of #backend#vim8 patterns'
script: bundle exec parallel_split_test spec/plugin/backend/patterns_spec.rb --tag vim8
os: linux
- name: 'Acceptance tests of #backend#vim8 paths with #viml legacy render'
script: bundle exec parallel_split_test spec/plugin/backend/paths_spec.rb --tag vim8 --tag ~render:lua
os: linux
- name: 'Acceptance tests of #backend#vim8 paths with #lua render'
script: bundle exec parallel_split_test spec/plugin/backend/paths_spec.rb --tag vim8 --tag ~render:viml
os: linux
- name: 'Acceptance tests of adapters'
script: bundle exec rspec --tag adapters
os: linux
- name: 'Acceptance tests of commandline'
script: bundle exec parallel_test -n 2 --type rspec spec/plugin/commandline/
os: linux
- name: 'Linters'
script:
- luacheck lua/
- vint autoload/esearch/ autoload/esearch.vim plugin syntax
- bundle exec rubocop
os: linux