mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:40:06 +08:00
39 lines
782 B
YAML
39 lines
782 B
YAML
|
version: 2.1
|
||
|
|
||
|
orbs:
|
||
|
ruby: circleci/ruby@2.0.0
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
docker:
|
||
|
- image: cimg/ruby:3.2.1
|
||
|
executor: ruby/default
|
||
|
steps:
|
||
|
- checkout
|
||
|
- run:
|
||
|
name: Install submodules
|
||
|
command: |
|
||
|
git submodule init
|
||
|
git submodule update
|
||
|
- run:
|
||
|
name: Install bundler
|
||
|
command: gem install bundler:2.1.4
|
||
|
- ruby/install-deps
|
||
|
|
||
|
- run:
|
||
|
name: Install dependencies
|
||
|
command: |
|
||
|
sudo apt-get update
|
||
|
sudo apt-get -y install xvfb vim-gtk3
|
||
|
- run:
|
||
|
name: Which (g)vim?
|
||
|
command: xvfb-run gvim --version
|
||
|
|
||
|
- run:
|
||
|
name: Run tests
|
||
|
command: xvfb-run bundle exec rspec -fd spec
|
||
|
|
||
|
workflows:
|
||
|
test:
|
||
|
jobs: [test]
|