Ravan came of descendant of Sage Pulasthiay also son of viwarasu. He is brahmin. Parsurama is defender of brahmins. So, intelligent Ravana make friendship with parasurama when he come to know about parsurama who is invinciable. Ravana never refute ravana's friendship due to he is brahmin .
But, it is suprise that their relationship not registered any ithas and puranas eventhough both are big personalities.