Backported travis-ci changes.
Automated build is useful, wanted to get it integrated earlier.
Travis needs #include <list>
Merge branch 'feat/travis-ci-backport' into develop
Merge fix.