add travis and fixes indentation