I’m new to Travis CI and I’m trying to wrap my head around creating an Electron build process for a staging environment and one for a production environment. The build processes are the same, but the environment variables are different. I would also like the option to trigger one but not the other at any given time. What’s the best way to do this?
This sample .travis.yml config that I had in my GitHub repo’s may shed some light on your question. I’ll try and make some configs myself and share them with you later on this week.
The below example does use docker and wine as a side note.