[CI] Rework travis config
Use a matrix for clearer Linux/OS X separation
Use a trusty container for Linux build