use container-based infrastructure for CI

http://docs.travis-ci.com/user/workers/container-based-infrastructure/