Fix specs and use travis configuration file