Switch to GitHub actions, remove Travis

Benefits include faster responses.
This commit is contained in:
Panquesito7 2020-06-08 16:03:40 -05:00
parent b537954edf
commit 005604c5fb
No known key found for this signature in database
GPG Key ID: 3C482B03FD220E68
2 changed files with 11 additions and 15 deletions

11
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,11 @@
on: [push, pull_request]
name: build
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: lint
uses: Roang-zero1/factorio-mod-luacheck@master
with:
luacheckrc_url: ""

View File

@ -1,15 +0,0 @@
dist: bionic
language: python
python:
- 3.7.1
install:
- sudo apt-get update -qq
- sudo apt-get install -qqq luarocks
- pip3 install pre-commit
- luarocks install --local luacheck
script:
- pre-commit run --all-files
- $HOME/.luarocks/bin/luacheck .