A federal appeals court upheld on Monday a California ballot measure banning affirmative action in admissions to state colleges and universities.