added .travis.yml and sync with travis-ci