adding php version check
updating travis yml