Add dependency check to .travis.yml