Fixed write context issue with 5.4
Added a first iteration of Travis CI configuration