simplify travis
use symfony yaml instead in codes factory