inspired by other projects, e.g. https://github.com/Seldaek/jsonlint/blob/master/.travis.yml