THRIFT-2312 travis.yml: build everything
Patch: Henrique Mendonça

fix php build and turn caching on