Is there an easy way to configure org & token by conf file?

Hi, I’ve write some test code which uses InfluxDB 2 alpha as database. When I tried to upload my code to travisCI, i found that i need to setup the database first.

So is there an easy way to configure org & token by some configuration file? Other approaches to make travisCI work is also welcomed. Thank you.

well, i found the solution. the influx setup command doesn’t need to enter the repl, so i can use shell command to configure the database