added simple lifecycle callbacks, fixed travis configuration