Adapted to releases and Travis CI.