refactor build script
add .travis.yml