mirror of
https://github.com/grumpycoders/pcsx-redux.git
synced 2025-04-02 10:41:54 -04:00
45 lines
1,022 B
YAML
45 lines
1,022 B
YAML
language: c
|
|
os: linux
|
|
dist: xenial
|
|
|
|
env:
|
|
global:
|
|
- ROCKSPEC=rockspecs/lua-protobuf-scm-1.rockspec
|
|
jobs:
|
|
- LUA="lua 5.1"
|
|
- LUA="lua 5.2"
|
|
- LUA="lua 5.3"
|
|
- LUA="lua 5.4"
|
|
- LUA="luajit 2.0"
|
|
- LUA="luajit 2.1"
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- lua54
|
|
|
|
before_install:
|
|
- pip install --user urllib3[secure] cpp-coveralls
|
|
- curl -O https://raw.githubusercontent.com/luarocks/hererocks/master/hererocks.py
|
|
- python hererocks.py env --$LUA -rlatest
|
|
- source env/bin/activate
|
|
|
|
install:
|
|
# - sudo luarocks make $ROCKSPEC CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage"
|
|
- luarocks make $ROCKSPEC CFLAGS="-O3 -fPIC -Wall -Wextra --coverage" LIBFLAG="-shared --coverage"
|
|
|
|
script:
|
|
- lua test.lua
|
|
# - lunit.sh test.lua
|
|
|
|
after_success:
|
|
- coveralls
|
|
# - coveralls -b .. -r .. --dump c.report.json
|
|
# - luacov-coveralls -j c.report.json -v
|
|
|
|
notifications:
|
|
email:
|
|
on_success: change
|
|
on_failure: always
|
|
|
|
# vim: ft=yaml nu et sw=2 fdc=2 fdm=syntax
|