From d17c78b17fb0415effbc80527c43cfccc87e5295 Mon Sep 17 00:00:00 2001 From: Thijs Date: Tue, 28 Jul 2020 09:53:17 +0200 Subject: [PATCH] do not run luacheck or luacov on Lua 5.4 --- .travis.yml | 8 ++++---- appveyor.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 40e87bb7..b4cd6eb5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,15 +15,15 @@ before_install: - pip install hererocks - hererocks here -r^ --$LUA - source here/bin/activate - - luarocks install luacheck + - if [[ ! "$LUA" == "lua 5.4" ]]; then luarocks install luacheck; fi install: - luarocks make - luarocks install luacov-coveralls script: - - luacheck . - - lua run.lua tests --luacov + - if [[ ! "$LUA" == "lua 5.4" ]]; then luacheck .; fi + - if [[ ! "$LUA" == "lua 5.4" ]]; then lua run.lua tests --luacov; else lua run.lua tests; fi after_success: - - luacov-coveralls + - if [[ ! "$LUA" == "lua 5.4" ]]; then luacov-coveralls; fi diff --git a/appveyor.yml b/appveyor.yml index 01d2a213..30484c64 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,7 +22,7 @@ build_script: - luarocks make test_script: - - lua run.lua tests --luacov + - if "%LUA%"=="lua 5.4" (lua run.lua tests) else (lua run.lua tests --luacov) on_success: #- luacov-coveralls