The compression of gas will cause the gas particles to collide more frequently which will increase pressure. The pressure causes the gas particles to move more faster which generates heat and therefore causes an increase in temperature.
The temperature increases.