Pkg.generate: call Pkg.build() in `.travis.yml`

Some packages require external dependencies, which are typically setup with `Pkg.build`. Calling it will ensure the default `.travis.yml` works for these packages.
Merge pull request #9200 from jayschwa/patch-1

Pkg.generate: call Pkg.build() in `.travis.yml`