Add the functional tests to travis CI