Adds the required files to enable integration with Travis.
Currently, it sets up MySQL and runs tests of the included development application (test/dev-app).
I had to change the config of the applicationa little, in order to change the DB driver, user, etc.
Also made some changes in the sailor binary, so errors when running Busted were correctly propagated (not caring much about actual error codes, just OK / FAIL).
And finally, enabled a matrix to run tests with:
Lua 5.1: passing
Lua 5.2: failing (cgilua still uses module and we build Lua with COMPAT flags disabled)
Lua 5.3: fails to install all dependencies (it complains abouts Copas)
Adds the required files to enable integration with Travis. Currently, it sets up MySQL and runs tests of the included development application (test/dev-app).
I had to change the config of the applicationa little, in order to change the DB driver, user, etc.
Also made some changes in the
sailor
binary, so errors when running Busted were correctly propagated (not caring much about actual error codes, just OK / FAIL).And finally, enabled a matrix to run tests with:
module
and we build Lua with COMPAT flags disabled)