integrate travis CI

Use travis CI for building, testing and deploying via GitHub releases.