Updated travis config.

Added whitelist to travis config to run only for master.