Add shared library type into Travis CI build test matrix.

Site documentation update is skipped when building shared library type.