travis: get number of cores