Replace Travis CI with GitHub Actions (#211)
parent
54028c8082
commit
4068c89d0b
|
@ -0,0 +1,25 @@
|
|||
name: build
|
||||
on: [push, pull_request]
|
||||
|
||||
env:
|
||||
global:
|
||||
NOKOGIRI_USE_SYSTEM_LIBRARIES=true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Install Ruby
|
||||
uses: ruby/setup-ruby@master
|
||||
with:
|
||||
ruby-version: 2.6.3
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get install libcurl4-openssl-dev
|
||||
bundle install --jobs=3 --retry=3 --deployment
|
||||
- name: Run tests
|
||||
run: |
|
||||
bundle exec jekyll build
|
||||
bundle exec htmlproofer '_site/' --allow-hash-href --check-html --http-status-ignore 0
|
17
.travis.yml
17
.travis.yml
|
@ -1,17 +0,0 @@
|
|||
language: ruby
|
||||
|
||||
rvm:
|
||||
- 2.6.3
|
||||
|
||||
env:
|
||||
global:
|
||||
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libcurl4-openssl-dev # required to avoid SSL errors
|
||||
|
||||
script:
|
||||
- bundle exec jekyll build
|
||||
- bundle exec htmlproofer '_site/' --allow-hash-href --check-html --http-status-ignore 0
|
|
@ -1,5 +1,6 @@
|
|||
# www.minetest.net
|
||||
|
||||
[![Build status](https://github.com/minetest/minetest.github.io/workflows/build/badge.svg)](https://github.com/minetest/minetest.github.io/actions)\
|
||||
The official Minetest website, living at [www.minetest.net](https://www.minetest.net).
|
||||
|
||||
## Features
|
||||
|
|
Loading…
Reference in New Issue