Add the Travis CI script

Introduce continuous integration for automatic testing after commit
changes.