Add always_populate_raw_post_data=-1 to php.ini in travis.