add .travis.yml and fix specs