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