Update support of Travis CI.
Merge pull request #1 from tehnick/travis

Update hook for Travis CI.