replace all * by shared_ptr
fix .travis.yml file