Moved fixture to simple node script (tests/fixture/index.js) which runs an .sql file. The macro from before was invoked when haxe ran in the background (IDE), and this allows you to more easily test different scenarios.
Travis file changed so it doesn't require the mysql 5.7 workarounds. Also tests both old and new php target now.
Test classes which use the database (all of them) now subclass TestWithDb, so it becomes easier to change mysql credentials. But that could be improved even more if we try and load those from env.
.sql
file. The macro from before was invoked when haxe ran in the background (IDE), and this allows you to more easily test different scenarios.