[travis] introduce $CASE to have flexibility in installation and testing

case `CLI_PETSC` will be added later from #275.