Enable container-based stack on Travis CI

This pull request reduces time to build on Travis CI.

For details, see http://docs.travis-ci.com/user/workers/container-based-infrastructure/