Skip to content

Commit 4535c65

Browse files
committed
github: migrate from travis to github actions
* .github/workflows/spec.yml: New equivalent github actions CI workflow. * .travis.yml: Removed. * README.md: Remove unused badges. Add workflow status badge. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
1 parent 7aaee37 commit 4535c65

File tree

3 files changed

+46
-58
lines changed

3 files changed

+46
-58
lines changed

.github/workflows/spec.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: spec
2+
3+
on:
4+
push:
5+
branches: [ '*' ]
6+
pull_request:
7+
branches: [ 'master' ]
8+
9+
jobs:
10+
test:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
lua-version: ["5.4", "5.3", "5.2", "5.1", "luajit"]
15+
typecheck: ["typecheck", ""]
16+
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
22+
- uses: leafo/gh-actions-lua@v8.0.0
23+
with:
24+
luaVersion: ${{ matrix.lua-version }}
25+
26+
- uses: leafo/gh-actions-luarocks@v4.0.0
27+
28+
- name: install
29+
run: |
30+
sudo apt-get install -y libyaml-dev
31+
luarocks install ansicolors
32+
luarocks install ldoc
33+
luarocks install luacov
34+
luarocks install specl
35+
test -n "${{ matrix.typecheck }}" && luarocks install typecheck || true
36+
37+
- name: build
38+
run: |
39+
make all doc
40+
luarocks make
41+
42+
- name: test
43+
run: |
44+
make check SPECL_OPTS='-vfreport --coverage'
45+
bash <(curl -s https://codecov.io/bash) -f luacov.report.out

.travis.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ Functional Programming with Lua
44
Copyright (C) 2002-2022 [std.functional authors][authors]
55

66
[![License](http://img.shields.io/:license-mit-blue.svg)](https://mit-license.org/2002)
7-
[![travis-ci status](https://secure.travis-ci.org/lua-stdlib/functional.png?branch=master)](http://travis-ci.org/lua-stdlib/functional/builds)
7+
[![workflow status](https://github.com/lua-stdlib/functional/actions/workflows/spec.yml/badge.svg?branch=master)](https://github.com/lua-stdlib/functional/actions)
88
[![codecov.io](https://codecov.io/gh/lua-stdlib/functional/branch/master/graph/badge.svg)](https://codecov.io/gh/lua-stdlib/functional)
9-
[![Stories in Ready](https://badge.waffle.io/lua-stdlib/functional.png?label=ready&title=Ready)](https://waffle.io/lua-stdlib/functional)
109

1110

1211
This is a collection of Functional Programming libraries for Lua 5.1

0 commit comments

Comments
 (0)