Update travis-ci configuration.
Adapt code style.
Merge pull request #23.