How to solve the differential-integral equation?

#phi'(t)=1/2int_0^t(t-sigma)^2phi(sigma)dsigma=-t##phi(0)=1#