Hey Travis community,
I have a few powershell modules that export functions and are imported into a main.ps1 script. This works on both Linux powershell 6.2 and Windows Powershell 5.1
When I launch the main.ps1 script within TravisCI for windows i get the following and then the build obviously falls over.
Import-Module : The specified module './Foobar' was not loaded because no valid module file was found in any module
What version of Powershell are TravisCI windows images running and if they’re the same can anyone think of why the following import command might be falling over.
Import-Module -Name ./Foobar -Verbose
Btw the modules are in the same folder as the main.ps1 script.
Many thanks