Reorder some steps in release process.
Added .travis.yml for Travis CI
Merge branch 'master' into 3937-Travis_ci
changed travis yaml.