Skip to content

Commit

Permalink
Use Github Actions instead of TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
cohama committed Dec 7, 2024
1 parent a7fc29d commit f851b23
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 25 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: test

on:
push:
branches:
- master
- dev
- temp
- feature/githubactions
pull_request:
branches:
- master
- dev
- temp

jobs:

test:
name: ${{ matrix.editor }} on ${{ matrix.os }}
strategy:
matrix:
editor:
- Vim
- Neovim

os:
- ubuntu-24.04
- ubuntu-22.04
- ubuntu-20.04

include:
- editor: Vim
installation: ""
cmd: vim
- editor: Neovim
installation: sudo apt-get update -y && sudo apt-get install -y neovim
cmd: nvim
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install
run: ${{ matrix.installation }}

- name: Install vim-themis
run: git clone https://github.com/thinca/vim-themis

- name: Show version
run: ${{ matrix.cmd }} --version

- name: Run tests
env:
THEMIS_VIM: ${{ matrix.cmd }}
run: vim-themis/bin/themis --reporter spec
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
lexima.vim
==========
[![Build Status](https://app.travis-ci.com/cohama/lexima.vim.svg?branch=master)](https://app.travis-ci.com/cohama/lexima.vim)
[![test](https://github.com/cohama/lexima.vim/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/cohama/lexima.vim/actions/workflows/test.yml)

Auto close parentheses and repeat by dot dot dot...

Expand Down

0 comments on commit f851b23

Please sign in to comment.