I’m trying to set up Travis CI for my open source JUCE project. I can already successfully compile the Projucer but when I’m trying to set the global paths with:
I’m building the Projucer in GPL mode and $TRAVIS_BUILD_DIR/JUCE/modules is a valid directory
Also when trying to set the vst-sdk path with the command above, the Projucer tells me vst3path is not a valid option for macOS. Both on Travis and my MacBook Pro
That depends. On my desktop and laptop (linux, macOS), I’m able to set the global module path with a full path and a path that includes an environment variable. Since the Projucer only accepts valid folders (folder containing modules) and I only have one valid modules folder in travis ci, the one under $TRAVIS_BUILD_DIR/JUCE/modules I can’t test any other paths
I know this isn’t what you are asking, but the way we do this is to have everything we need as a git submodule of the main project and don’t use any global files. That we we are guaranteed to get the right version of JUCE etc. when we hit build on the server…
That’s probably the way to go. For now I changed my project to include the JuceLibraryCode folder which has local copies of all modules, it works but it’s not elegant. I think i’ll switch to your method