Added travis before_script to set permissions.