created a rake file to execute rspec features/ . Then calling the rake in travis.yml.