0.11 compatibility

fixes #21
add travis for 0.10 and 0.11