The best way to ensure that science is bipartisan, that is if you mean politically neutral, is to rely on markets.
If you mean being supported by either side of the political aisle, then you're not necessarily asking for the best solution no matter the side who are lobbied by special interests including scientists wanting funds or jobs. There just may be a separate and different solution that is not from either side or group think.
Most science needs to remain free from the state. That is the best chance of advancement technologically.