downgrade ruby

since travis doesn't support ruby2 yet.
add travis configuration file