- add travis conf
- fix possible negative arguments to close