Adding checks depending on Travis ES version