Skip to content

Commit 783bc7b

Browse files
committed
migrate CI to github actions
1 parent 8a7d8ee commit 783bc7b

File tree

3 files changed

+40
-10
lines changed

3 files changed

+40
-10
lines changed

.github/workflows/ci.yaml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
on: push
2+
3+
name: Continuous integration
4+
5+
jobs:
6+
ci:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, macos-latest, windows-latest]
11+
rust:
12+
- stable
13+
- beta
14+
- nightly
15+
features:
16+
-
17+
- --no-default-features --features json-rpc
18+
19+
20+
steps:
21+
- uses: actions/checkout@v1
22+
with:
23+
submodules: true
24+
25+
- uses: actions-rs/toolchain@v1
26+
with:
27+
profile: minimal
28+
toolchain: ${{ matrix.rust }}
29+
override: true
30+
31+
- uses: actions-rs/cargo@v1
32+
with:
33+
command: build
34+
args: ${{ matrix.features }}
35+
36+
- uses: actions-rs/cargo@v1
37+
with:
38+
command: test
39+
args: ${{ matrix.features }}

.travis.yml

-9
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vim-markdown-composer
22

3-
[![Build Status](https://travis-ci.org/euclio/vim-markdown-composer.svg)](https://travis-ci.org/euclio/vim-markdown-composer)
3+
![](https://github.com/euclio/vim-markdown-composer/workflows/Continuous%20integration/badge.svg)
44

55
vim-markdown-composer is a plugin that adds asynchronous Markdown preview to
66
[Neovim] and [Vim].

0 commit comments

Comments
 (0)