back2dos / travix

Travis helper.
The Unlicense
33 stars 12 forks source link

lua testing doesn't work on haxe 4 because of lua-utf8 #109

Closed nadako closed 5 years ago

nadako commented 5 years ago
lua: bin/lua/tests.lua:55: module 'lua-utf8' not found:
kevinresol commented 5 years ago

iirc there now a haxe-dep (or named sth similar) on luarock, which can replace all these lines https://github.com/back2dos/travix/blob/7211083/src/travix/commands/LuaCommand.hx#L56-L60

nadako commented 5 years ago

that's pretty cool! tho it seems that haxe-deps actually also depends on luautf8 == 0.1.1-1...

nadako commented 5 years ago

Actually it doesn't seem to run luarocks even? https://travis-ci.org/nadako/hxjsonast/jobs/492772845#L704

jdonaldson commented 5 years ago

Here's that haxe-deps package : https://luarocks.org/modules/jdonaldson/haxe-deps

jdonaldson commented 5 years ago

Actually it doesn't seem to run luarocks even? https://travis-ci.org/nadako/hxjsonast/jobs/492772845#L704

Could it be failing both the Travix.isLinux and Travix.isMac checks?

kevinresol commented 5 years ago

Should be fixed now. But requires ubuntu xenial for now (dist: xenial in .travis.yml). Because luarocks wants CMake3 but trusty doesn't provide that.

andyli commented 5 years ago

There is a cmake3 in trusty: https://packages.ubuntu.com/trusty/cmake3.