Configure karma for different environments