A Texas-based oil and gas company, operating in Tioga, N.D., violated civil rights law by subjecting an African-American employee to a hostile work environment based on his race, the U.S. Equal Employment Opportunity Commission (EEOC) charged in a lawsuit filed in North Dakota yesterday.