better requirement installation code for travis