modify travis.yml to make build success

remove useless ruby setting
add db setting
execute scripts