Add build script for travis ci