don't calculate build number when building on Travis

because it doesn't do the full checkout and the build number cannot be
calculated correctly