added travis; moved rockspecs; tests and docs modified

This commit is contained in:
Vadim A. Misbakh-Soloviov
2017-04-09 13:15:06 +07:00
parent 06da2e960e
commit a04ab7d9cd
11 changed files with 252 additions and 6 deletions

View File

@@ -1,7 +1,21 @@
-- Omit next line in actual module clients; it's only to support development of the module itself
package.path = "../src/?.lua;" .. package.path
local lunitx = require("lunitx")
pcall(require, "luacov")
print("------------------------------------")
print("Lua version: " .. (jit and jit.version or _VERSION))
print("------------------------------------")
print("")
local HAS_RUNNER = not not lunitx
local TEST_CASE = lunitx.TEST_CASE
local LUA_VER = _VERSION
local unpack, pow, bit32 = unpack, math.pow, bit32
local _ENV = TEST_CASE"some_test_case"
module("html", lunitx.testcase, package.seeall)
local htmlparser = require("htmlparser")