move cmd test to .travis.yml