fix deps; add headless config for travis