Tweaked dependency out of factories and update .travis.yml