Fix yml and add script for travis-ci