make it work for 1.9.
add travis, 1.9. and 2.0.