aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2020-07-09 22:22:23 +0200
committerThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-07-09 22:34:34 +0200
commit0e041bd343ac8cf62c4c524af0fddf4cb49b643d (patch)
tree4e50b3ddd32597bfb2366c0cbb87704301754db2
parentdocs: update README.md for Rust (diff)
downloadnvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.tar
nvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.tar.gz
nvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.tar.bz2
nvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.tar.lz
nvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.tar.xz
nvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.tar.zst
nvim-treesitter-0e041bd343ac8cf62c4c524af0fddf4cb49b643d.zip
ci: use GH Actions istead of Travis CI
-rw-r--r--.github/workflows/lint.yml20
-rw-r--r--.travis.yml11
-rw-r--r--README.md2
3 files changed, 21 insertions, 12 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 000000000..41ee77272
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,20 @@
+name: Linting and style checking
+
+on: [push, pull_request]
+
+jobs:
+ luacheck:
+ name: Luacheck
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+
+ - name: Prepare
+ run: |
+ sudo apt-get update
+ sudo add-apt-repository universe
+ sudo apt install luarocks -y
+ sudo luarocks install luacheck
+
+ - name: Run Luacheck
+ run: ./scripts/style-check.sh
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index a3d4dfe86..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-language: c
-dist: bionic
-before_install:
- - sudo apt-get update
- - sudo add-apt-repository universe
- - sudo apt install luarocks -y
- - sudo luarocks install luacheck
-
-script:
- - ./scripts/style-check.sh
diff --git a/README.md b/README.md
index c57b7fb6a..baffc9e59 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
Traditionnal highlighting (left) vs Treesitter-based highlighting (right).
[![Gitter](https://badges.gitter.im/nvim-treesitter/community.svg)](https://gitter.im/nvim-treesitter/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
-[![Build Status](https://travis-ci.com/nvim-treesitter/nvim-treesitter.svg?branch=master)](https://travis-ci.com/nvim-treesitter/nvim-treesitter)
+![Build Status](https://github.com/nvim-treesitter/nvim-treesitter/workflows/.github/workflows/lint.yml/badge.svg?branch=master)
# nvim-treesitter
Treesitter configurations and abstraction layer for Neovim.