Split out functionl and unit tests for travis