Parts of coastal Texas are under hurricane warnings in case Tropical Storm Alex gains strength and heads for the state.