introduce $CASE to have flexibility in installation and testing
Merge pull request #292 from norihiro-w/optimise-install-travis

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