The county shall not assume or pay any debt or portion thereof contracted in violation of the provisions of this article; provided, however, that it shall not be unlawful for such board to borrow money sufficient to pay its teachers and other school employees at or about the first day of June in each year in anticipation of the installment of state appropriations in such school year thereafter due and payable. (Mont. Co. Code 1965, § 21-11.)