add travis ci
enable c++11
debug: error: ‘auto_ptr’ is not a member of ‘std’