Upgrade to gradle 1.11
Only check compilation on travis