user10303: I am building a Travis CI job to test my Arduino Library and it needs to install external board definitions.
Is there a way that I can set the boardsmanager.additional.urls from the command prompt like it would have been done in the Preferences window?
Or should I create preferences.txt file? (If so where does that live in a Linux environment)

user10303: Found the solution:
arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json"


10303: <p>I am building a Travis CI job to test my Arduino Library and it needs to install external board definitions.</p>

<p>Is there a way that I can set the boardsmanager.additional.urls from the command prompt like it would have been done in the Preferences window?</p>

<p>Or should I create preferences.txt file? (If so where does that live in a Linux environment)</p>
 10303: <p>Found the solution:</p>

<pre><code>arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json"
</code></pre>
