ensure compatibilty with python3
add travis conf