Detect ES version on travis