Perhaps you should stipulate, or re-examine the conditions under which the fluid is condensing as it is being compressed.
For example, I have never had had the chance to observe air turning into a liquid as it is being compressed to pump up a car tire.
In other words, where on a phase diagram are you referring.
An example PT phase diagram for water:
http://upload.wikimedia.org/wikipedia/commons/3/34/Phase-diag2.svg
http://upload.wikimedia.org/wikipedia/commons/3/34/Phase-diag2.svg
If we start with the gaseous phase of water somewhere in between temperatures Ttp and Tcr, any compression of suitable magnitude will eventually cause a phase change from gaseous to liquid. Below Ttp, a compression will turn the gas into a solid ( and then a liquid with more compression ). Above Tcr, any amount of compression does not cause a phase change, but the fluid changes into what is called a supercritical fluid above a pressure of Pcr.
Of course, I am using a constant temperature for the fluid throughout, assuming that the heat of compression is not being retained by the fluid to cause a temperature increase.
If the fluid is insulated so no heat can flow out, the temperature will, as you say, increase during compression. It may be that the fluid may cross a phase change boundary during the process, or it may not. A calculation would be in order to determine the state of the fluid.