Updated build script and added .travis.yml file.