There is no minimum sample size required to perform a t-test. In fact, the first t-test ever performed only used a sample size of four. However, if the assumptions of a t-test are not met then the results could be unreliable.